How to change the admin password? #82
-
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 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 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) |
Beta Was this translation helpful? Give feedback.
-
got it!
|
Beta Was this translation helpful? Give feedback.
got it!
backup the existing config file
cd /var/www/baikal/config cp -p baikal.yaml baikal.yaml_keep
generate a new password hash
get old password hash
grep admin_passwordhash baikal.yaml # admin_passwordhash: 41739d5e231d38110d4c5e8c33dd5b4d4f11246d8d02aafa78ce599455e15b0f
replace old hash with new hash