Forgot password
thodinh
13 Posts
December 3, 2018, 5:45 pmQuote from thodinh on December 3, 2018, 5:45 pmHi,
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
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
eric.mort@windstream.com
1 Post
January 25, 2021, 4:17 amQuote from eric.mort@windstream.com on January 25, 2021, 4:17 amDid 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.
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.
Shiori
86 Posts
January 25, 2021, 8:57 pmQuote from Shiori on January 25, 2021, 8:57 pmthis 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.
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.
yangsm
31 Posts
June 18, 2022, 1:32 amQuote from yangsm on June 18, 2022, 1:32 amShiori,Can you write down how to reset the password after modifying these two files? thank you
Shiori,Can you write down how to reset the password after modifying these two files? thank you
TTN-George
2 Posts
June 21, 2022, 9:28 pmQuote from TTN-George on June 21, 2022, 9:28 pmI 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.
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.
admin
2,930 Posts
June 22, 2022, 1:26 amQuote from admin on June 22, 2022, 1:26 am
# 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
# 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
Last edited on June 22, 2022, 1:26 am by admin · #6
TTN-George
2 Posts
June 22, 2022, 5:38 amQuote from TTN-George on June 22, 2022, 5:38 amThat did the trick! Thank you!
That did the trick! Thank you!
Forgot password
thodinh
13 Posts
Quote from thodinh on December 3, 2018, 5:45 pmHi,
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
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
eric.mort@windstream.com
1 Post
Quote from eric.mort@windstream.com on January 25, 2021, 4:17 amDid 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.
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.
Shiori
86 Posts
Quote from Shiori on January 25, 2021, 8:57 pmthis 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.
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.
yangsm
31 Posts
Quote from yangsm on June 18, 2022, 1:32 amShiori,Can you write down how to reset the password after modifying these two files? thank you
Shiori,Can you write down how to reset the password after modifying these two files? thank you
TTN-George
2 Posts
Quote from TTN-George on June 21, 2022, 9:28 pmI 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.
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.
admin
2,930 Posts
Quote from admin on June 22, 2022, 1:26 am# login via ssh as root, get admin user infoconsul kv get PetaSAN/Users/admin > admin.json# edit admin.json and change password, then write file back, notice the @ preceding filenameconsul kv put PetaSAN/Users/admin @admin.json
# login via ssh as root, get admin user infoconsul kv get PetaSAN/Users/admin > admin.json# edit admin.json and change password, then write file back, notice the @ preceding filenameconsul kv put PetaSAN/Users/admin @admin.json
TTN-George
2 Posts
Quote from TTN-George on June 22, 2022, 5:38 amThat did the trick! Thank you!
That did the trick! Thank you!