I am running 1.24.2 and at some point I set the admin password, but have forgotten it. The problem is I want to re-enable authentication, but as soon as I do, I need to be able to log back in to manage users (or even disable auth). Obviously since I dont know the password, this is a huge issue.
Can someone give me some direction on how to reset it, or change it without risking loosing access to ZM?? I looked in the database but it seems to just be a password HASH, and not a usable password.
Any Ideas?
Reset admin password?
Re: Reset admin password?
I found the answer @ http://www.zoneminder.com/forums/viewto ... ord#p56096 . I tested it out on one of my users by logging into phpmyadmin and deleting the user's password. I was then able to log in to that account by leaving the password empty.
Note: the password is hashed using mysql's function password(). You can run a sql query to output the hashed password.
Note: the password is hashed using mysql's function password(). You can run a sql query
Code: Select all
SELECT PASSWORD('my-password');