password reset

Support and queries relating to all previous versions of ZoneMinder
Locked
Pr0n
Posts: 15
Joined: Fri Sep 18, 2009 10:25 pm

password reset

Post by Pr0n »

the idiot tech at my other store changed the password on my dvr and can't remember it, or made a typo (TWICE) I've still got root access to the machine of course, how do reset the zoneminder admin password?
User avatar
kingofkya
Posts: 1110
Joined: Mon Mar 26, 2007 6:07 am
Location: Las Vegas, Nevada

Post by kingofkya »

fire up phpmyadmin

Go to ZM>USERS>IdiotsUserName>Password EDIT: remove hashed password making the password blank
User avatar
snake
Posts: 337
Joined: Sat May 21, 2016 2:20 am

Re: password reset

Post by snake »

As a reference here's the entries for command line mysql/mariadb

Code: Select all

mysql -u root -p
use zm;
show tables;
select * from Users\G
update Users set Password = "" where Password = "OLDHASHEDPASSWORD";
(or if you just have admin user only)
update Users set Password = "";
The idea is, blank the password out, then you can login with just username and no password.
vvchumanov
Posts: 4
Joined: Sun Jul 15, 2018 8:49 pm

Re: password reset

Post by vvchumanov »

Why don't works whis>...??
i'm change in mysql password for admin, but in web /zm don't enter (write to wrong password!!) (in mariadb it's ok work) whats troubles zm this fall change password after update 1.32 > 1.34 :roll:

but in zmninja from api it's work great :/
Locked