Add User + Password with mysql Statement
Posted: Tue Jul 12, 2016 7:57 pm
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
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