I recently forgot my admin password to my Linstor GUI install and I am looking for a way to reset it. I have been able to disable password authentication by running the below command on the controller node.
After doing so though I have no option to reset the admin users password and if I go back into the authentication & users section and reenable user authentication i get kicked out and am forced to login with the forgotten username and password.
I am currently running Linstor GUI 1.9.9. Any help would be greatly appreciated!
@kermat That is correct. it works as it I can log back in, but when I re-enabled user auth using the default admin password, it does not work it says invalid username and password.
Seems things have changed within LINSTOR or the LINSTOR GUI since that KB was written. Will have a look soon and let you know how to proceed if no one else chimes in first.
The method for resetting admin and non-admin users is indeed different. A regular user’s password can be reset by the admin. Since we don’t have email verification or similar mechanisms, if the admin user’s password is forgotten, the only way to reset the entire user authentication system is by modifying the KV store (set authenticationEnabled to false, delete the entire users namespace, then set authenticationEnabled back to true or re-enable it through the UI).
This is a response I received from the LINSTOR GUI dev team. This might change soon, so if you’re reading this “from the future”, might be worth asking or searching around before you delete the user namespace.
In discussing this with LINBIT developers it was mentioned that this process will be improved, possibly as soon as the next LINSTOR GUI release. We’ll update the KB again once that happens.