forgot my password

Support and queries relating to all previous versions of ZoneMinder
Locked
xmit
Posts: 6
Joined: Sun Apr 29, 2007 10:12 pm

forgot my password

Post by xmit »

I forgot the password of the user admin. It is not the default (admin) because I changed it several weeks ago. How can I recover or reset it?
sgn
Posts: 68
Joined: Mon Oct 25, 2004 2:36 pm

Post by sgn »

Unless you configured a certain hash secret, you could make an MD5 hash of whatever you want you password to be and manually replace the old hash in the DB. OR you could extract the default admin/admin variables from zmschema.sql.

http://epleweb.com/md5/
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

If you still use admin as the user name you can just do

Code: Select all

mysql zm
mysql> update Users set Password = password( 'New Password' ) where Username = "admin";
mysql> quit
Phil
Locked