hello, i password protected enterance into zoneminder, however i didnt see users tab under options to add
new user, now zoneminder asks for login and password
my question is what is default login and password for zoneminder,
and how can i add new users to zoneminder 1.25,
if i forget password is it possible to change it from the shell without uninstalling?
thanks!
how to add users to zoneminder 1.25 no users tab
Re: how to add users to zoneminder 1.25 no users tab
i removed admin user by accident, so now if i remove zoneminder and install it again under localhost/zm/ it prompts me for username and password,
is there a way that i can manually from the shell disable it OPT_USR_AUTH i believe thats what its called and manually add new username without web gui?
and even better im wondering why it prompts me for username and password even i uninstalled zm and installed again ?
thanks!
is there a way that i can manually from the shell disable it OPT_USR_AUTH i believe thats what its called and manually add new username without web gui?
and even better im wondering why it prompts me for username and password even i uninstalled zm and installed again ?
thanks!
Re: how to add users to zoneminder 1.25 no users tab
Hi juricac,
the default username and password is :
admin
admin
However as I can see You managed to delete it
.
Try in console:
or with root user:
the default username and password is :
admin
admin
However as I can see You managed to delete it

Try in console:
Code: Select all
mysql -u<your_zm_DB_user> -p<your_zm_DB_pass>
mysql>show tables;
mysql> select Id,Value,DefaultValue,Hint from Config where Name='ZM_OPT_USE_AUTH';
+----+-------+--------------+--------+
| Id | Value | DefaultValue | Hint |
+----+-------+--------------+--------+
| 1 | 1 | no | yes|no |
+----+-------+--------------+--------+
1 row in set (0.00 sec)
mysql>update Config set Value='no' where Id=1;
mysql>commit;
mysql>exit;
Code: Select all
mysql -uroot -p<root_DB_password>
mysql>use zm
mysql>show tables;
mysql> select Id,Value,DefaultValue,Hint from Config where Name='ZM_OPT_USE_AUTH';
+----+-------+--------------+--------+
| Id | Value | DefaultValue | Hint |
+----+-------+--------------+--------+
| 1 | 1 | no | yes|no |
+----+-------+--------------+--------+
1 row in set (0.00 sec)
mysql>update Config set Value='no' where Id=1;
mysql>commit;
mysql>exit;