You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By mistake we forgot admin password for “webpasswordsafe”
Please let us know how to change admin password.
As I am new to this please give details steps to change password for Admin user. :)
Thanks in advance. ;)
The text was updated successfully, but these errors were encountered:
I'm going to make a couple of assumptions here:
You are using MySQL.
If this is the case, you need to do something like this:
Shutdown your instance of WPS.
Connect to the database on the commandline.
Once connected to the database and switched to the appropriate database,
figure out the id of the admin user:
select id from users where username = 'admin';
On my system, this is userid 2, but YMMV.
Next get the id of a user you know the password for:
select id from users where username='username_you_know_password';
For argument sake, let's say the userid is 5 for this one.
Next, you need to get the password hash for the user you know:
select password from user_authn_password where user_id = 5;
For argument sake, let's say the hash is 'QWERTYUIOP' (it'll be much longer
than this).
Now update the admin user's password with the hash for the one you know:
update user_authn_password set password = 'QWERTYUIOP' where user_id =
2;
Assuming all of that worked, go ahead and startup your WPS instance and
login with the password you know.
Best,
Gordon
By mistake we forgot admin password for “webpasswordsafe”
Please let us know how to change admin password.
As I am new to this please give details steps to change password for Admin user. :)
Thanks in advance. ;)
The text was updated successfully, but these errors were encountered: