Forums

Home / Forums

You need to log in to create posts and topics. Login · Register

Forgot password

Hi,

Apparently I've forgotten my admin password to web client (:5000)

I still remember my cluster password (have access to nodes)

Is there a way to reset my admin password on web client?

Thanks

Did anyone sort this out.  I have the same issue (seems web admin pw is corrupt or forgotten ) and looking for a way to reset it w/o reinstalling.

this script can change your password:

"/opt/petasan/web/static/dist/js/pages/user/change_password.js" it has to be run with the system key and the parameters fed in from the /opt/petasan/services/web/templates/admin/user/change_password.html page but it can be done.

 

Maybe the admins will have a better way to work around this but this I know will work as a bad way around the system since you have ssh access to the mons.

Shiori,Can you write down how to reset the password after modifying these two files? thank you

I also ran into this. Changed the web admin password and now it won't except either the new one or the default one. It would be nice to be able to reset from the OS in some way.

# login via ssh as root, get admin user info
consul kv get  PetaSAN/Users/admin > admin.json
# edit admin.json and change password, then write file back, notice the @ preceding filename
consul kv put  PetaSAN/Users/admin @admin.json

That did the trick! Thank you!