Secured zoneminder... now I can't login

Forum for questions and support relating to the 1.27.x releases only.
Locked
dodtsair
Posts: 31
Joined: Sun Nov 10, 2013 4:51 am

Secured zoneminder... now I can't login

Post 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?
dodtsair
Posts: 31
Joined: Sun Nov 10, 2013 4:51 am

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

Post by dodtsair »

Use root to connect to the mysql database

use zm;
update Config set Value=0 where name like '%OPT_USE_AUTH';
bbunge
Posts: 2935
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

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

Post 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.
dodtsair
Posts: 31
Joined: Sun Nov 10, 2013 4:51 am

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

Post by dodtsair »

Thanks, that helped. I should have read the FAQ:
http://www.zoneminder.com/wiki/index.ph ... ecurity.3F
Locked