B.2. Update Passwords

This section describes the commands that you can use to update user passwords (services are also seen as 'users').

Important

These commands only change the initial password. Ensure that you afterwards also manually update the service configuration files to match the changed password (see Section B.1, “Password Locations”).
  • Identity service user
    $ keystone user-password-update USERNAME 
    Where USERNAME is the name of the service user whose password you want to change. Enter the new password when prompted. For example:
    $ keystone user-password-update demo
  • MySQL
    $ mysqladmin -u root -pOLDPASS password NEWPASS
    Replace OLDPASS with the existing password, leaving no space between -p and the password, and NEWPASS with the new password.
  • Nagios
    $ htpasswd /etc/nagios/passwd NagiosUser
    Replace NagiosUser with the non-admin user name to change the password for a user.