Updating Db2 password on a Linux or AIX system
On Linux® or AIX® systems, you might want to change the password for the Db2® Administrator user ID. The login password for the Db2 Administrator user ID and the Db2 password for the user ID must be the same.
klmdb42
. Additionally,
the Db2 application creates an operating
system user entry named klmdb42
. For example, the
password for this user might expire, requiring you to resynchronize the password for both user IDs.
Before you can change the password for the Db2 Administrator user ID, you must change the password for the user at the operating system level.
In addition, the login password for the Db2 Administrator user ID and the Db2 data source password that is used by WebSphere Application Server Liberty must be the same. When you change one, you must change the other. For information about the supported special characters in a password, see https://www.ibm.com/support/pages/supported-special-characters-ibm-security-key-lifecycle-manager-passwords.
- Log in to the Guardium Key Lifecycle Manager server as root.
- Change user to the
klmdb42
system user entry. Type:su
klmdb42
- Change the password. Type:
passwd
Specify the new password.
- Exit back to root.
exit
Db2 password is updated on the system.