password reset

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

password reset

Post by Pr0n » Tue Sep 22, 2009 3:05 am

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: 1111
Joined: Mon Mar 26, 2007 6:07 am
Location: Las Vegas, Nevada

Post by kingofkya » Tue Sep 22, 2009 3:21 am

fire up phpmyadmin

Go to ZM>USERS>IdiotsUserName>Password EDIT: remove hashed password making the password blank

User avatar
snake
Posts: 199
Joined: Sat May 21, 2016 2:20 am

Re: password reset

Post by snake » Sat Mar 09, 2019 10:07 pm

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests