Upate superuser password


#1

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


#8

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

#10

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


#11

Thank you @dfunckt !

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

Alan