Updated on 2024-09-23 GMT+08:00

Changing the Password for the OMS Database Administrator

You are advised to regularly change the password for the OMS database administrator to enhance system O&M security.

  1. Log in to the active management node as user root.

    To ensure smooth cluster running, you are not allowed to change the password for the user ommdba on the standby management node. Change the password on the active management node only.

  2. Run the following command to switch the user:

    sudo su - omm

  3. Run the following command to switch the directory:

    cd $OMS_RUN_PATH/tools

  4. Change the password for the user ommdba.

    mod_db_passwd ommdba

  5. Enter the old password of user ommdba and enter a new password twice.

    The password complexity requirements are as follows:

    • The password contains 16 to 32 characters.
    • The password must contain at least three types of the following: uppercase letters, lowercase letters, digits, and special characters ('~!@#$%^&*()-_=+\|[{}];:'",<.>/?).
    • The password cannot be the username or the reverse username.
    • The password cannot be the same as the last 20 historical passwords.

    If the following information is displayed, the password is changed successfully.

    Congratulations, update [ommdba] password successfully.