Page 1 of 1

Secured zoneminder... now I can't login

Posted: Mon Apr 07, 2014 2:26 am
by dodtsair
I wanted to make sure zoneminder asked me for a user name and password before it allowed me to see anything. I looked around the UI and I could not find the place to add users. I figured like all other options it does not appear until you turn it on. I turned it on. After I saved the configuration, I got a permission error when viewing the options page. I refreshed the index page and now I get a login. It is just that I never created any users?

I have no idea how to get back into my system. This is really frustrating.

How do I recover my zoneminder so that I can add users and login?

Re: Secured zoneminder... now I can't login

Posted: Mon Apr 07, 2014 7:31 am
by dodtsair
Use root to connect to the mysql database

use zm;
update Config set Value=0 where name like '%OPT_USE_AUTH';

Re: Secured zoneminder... now I can't login

Posted: Mon Apr 07, 2014 1:27 pm
by bbunge
Try:
user: admin
password: admin

Once you are in add another user and password, log out then back in with the new user and either delete the admin user or change his password.

Re: Secured zoneminder... now I can't login

Posted: Wed Apr 09, 2014 4:39 am
by dodtsair
Thanks, that helped. I should have read the FAQ:
http://www.zoneminder.com/wiki/index.ph ... ecurity.3F