Modify the default administrator password

Before running the commands shown on this page, you should load the Bitnami stack environment by executing the installdir/use_APPNAME script (Linux and Mac OS X) or by clicking the shortcut in the Start Menu under “Start -> Bitnami APPNAME Stack -> Application console” (Windows). Learn more.

You can modify the Redis password by editing the requirepass directive in the installdir/redis/etc/redis.conf file. Replace the NEWPASSWORD placeholder with the value of your new password:

requirepass NEWPASSWORD

Then restart the Redis server:

$ sudo installdir/ restart redis
  • (Optional) If you don’t want to restart the Redis service, appart from changing the configuration file, you can execute the following command to change the password at runtime. Replace the CURRENTPASSWORD and NEWPASSWORD placeholders with the values of the current password and your new password:

    $ redis-cli -a CURRENTPASSWORD CONFIG set requirepass NEWPASSWORD

Last modification September 5, 2018