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.

The IBM® Security Guardium® Key Lifecycle Manager installation program installs Db2 and prompts the installing person for a password for the user named sklmdb41. Additionally, the Db2 application creates an operating system user entry named sklmdb41. For example, the password for this user might expire, requiring you to resynchronize the password for both user IDs.
Note: Run all the Db2 specific commands as a sklmdb user, and run the WebSphere® Application Server commands as a root user.

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 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.

  1. Log in to the Guardium Key Lifecycle Manager server as root.
  2. Change user to the sklmdb41 system user entry. Type:
    su sklmdb41
  3. Change the password. Type:
    passwd

    Specify the new password.

  4. Exit back to root.
    exit

    Db2 password is updated on the system.

What to do next

Depending on your deployment, update the Db2 password in IBM Security Guardium Key Lifecycle Manager: