Changing default passwords
To change the Directory Service (LDAP) Administrator password
A Directory Service embedded in the MVMM Application Service is used to provide product security. The Directory Service has an Administrator password (the LDAP Administrator password) that is required only for system backup and recovery. The password is not used at runtime internally by the product. That password is set to an initial secure value when the product is first installed. You must recover or have the LDAP administrator password to create a new password.
Once you have the current LDAP Administrator password, you can perform the following steps to assign a new password:
- Ensure the MVMM Application Service is running. MVMM services do not need to be stopped or restarted as part of this process.
At a command prompt in the installDir, use the mqsusertool command to set a new password. For an example:
$ mqsusertool --account -ldap_admin_password NEW_PASSWORD -target LDAP -logon_password CURRENT_PASSWORD
mqsusertool 9.0.00 (build 500)
(C) Copyright 1996-2020 BMC Software, Inc.
Administrative password has been changed in the target.
Saving administrative password in services.cfg ...
Administrative password has been saved.
Successfully changed administrative password for target LDAP
Processing account settings completed successfully.- Once run, the new password is stored in services.cfg as a securely encoded string.
Changing the msproxy_password
The msproxy_password is used by the Media Service account to secure access to the media repository within the product. The password is set to a unique, random, and cryptographically secure value (a type 4 UUID) during the product installation. The password is used only internally within the product and it cannot be used for any external access to the product. Hence, users do not need to know the original password value.
Use the mqsusertool tool to change the password to a new unique, random, and cryptographically secure value, or to a defined value according to your security requirements.
To change the password to a random value
- Stop the Application Service before resetting the password value.
Use the sync option:
mqsusertool --account -sync -user msproxy -target FILE- Restart the Application Service after changing the password. This activates the new password.
To change the password to a defined value
- Stop the Application Service before resetting the password value.
Execute the following command:
mqsusertool --account -user msproxy -password NEW_PASSWORD -target FILE- Restart the Application Service after changing the password. This activates the new password.