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?

Thanks
Alan

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
3 Likes

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

1 Like

Thank you @dfunckt !

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

Alan