Page 1 of 1

Add User + Password with mysql Statement

Posted: Tue Jul 12, 2016 7:57 pm
by merlin005
Hi all

I have an automated setup to do the most likely settings if i do a new installation and I manage most
of the settings (mysql entries) from the shell.
The last think i also want to do from shell by mysql statement, is adding new users to login to the Web-GUI, setting the password and the rights.
Adding the user, setting the rights ... no problem but setting the password.
I was reading the whole evening about hashes: md5, sha ... in some threads they talked about salting, i git cloned the source and
was searching the way in there.
I'am not very proper with enconding passwords, md5 an the machanics.
Would be nice if somebody can give me a hint, not even the solution, where i have to take a closer look at.

Thanks for reading

Re: Add User + Password with mysql Statement

Posted: Tue Jul 12, 2016 8:02 pm
by bbunge
If you are adding users to Zoneminder just use the gui. Adding users to MySql is not necessary to give a user access to Zoneminder.