Upate superuser password


Is there a documented method for updating / changing the password for the superuser / root role that is created during the setup process? Can this be preformed with the balena CLI?



Hello @alnjxn, yes, you can now change the superuser password by editing “config/activate” and changing the OPENBALENA_SUPERUSER_PASSWORD variable to the new password. You’ll then need to recreate the API container with:

./scripts/compose kill api
./scripts/compose rm -vf api
./scripts/compose up -d api


I forgot to mention that you’ll also need to pull the latest API image with ./scripts/compose pull api before changing the password.


Thank you @dfunckt !

I can confirm the steps provided work. Appreciate the help.