How to change the admin password? #82
Answered
by
buhtigpater
buhtigpater
asked this question in
Q&A
|
Hello, everyone I'm not sure if I'm in the right place with my question. I'm running Baikal in a Docker container. Now I want to change the admin password? How do I do that? Thanks for helping me and others |
Answered by
buhtigpater
Apr 7, 2022
Replies: 2 comments 4 replies
|
Hi @buhtigpater, a better place would be over at sabre-io/Baikal since this is a question about how to do something in Baikal, not something related to the Docker images. I found this here though in their issues: sabre-io/Baikal#196 (comment) |
1 reply
|
got it!
|
3 replies
Answer selected by
ckulka
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
got it!
backup the existing config file
cd /var/www/baikal/config cp -p baikal.yaml baikal.yaml_keepgenerate a new password hash
get old password hash
grep admin_passwordhash baikal.yaml # admin_passwordhash: 41739d5e231d38110d4c5e8c33dd5b4d4f11246d8d02aafa78ce599455e15b0freplace old hash with new hash