Updated on 2022-08-12 GMT+08:00

Changing the Password for User omm in DBService

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

    The password of user omm for the DBService database cannot be changed on the standby DBService node. Change the password on the active DBService node only.

  2. Run the following command to switch the user.

    su - omm

  3. Run the following command to switch the directory:

    source $DBSERVER_HOME/.dbservice_profile

    cd ${DBSERVICE_SOFTWARE_DIR}/sbin/

  4. Run the following command to change the password of user omm:

    sh modifyDBPwd.sh

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

    The password complexity requirements are as follows:

    • The password must contain 8 to 32 characters.
    • The password must contain at least three types of the following: uppercase letters, lowercase letters, digits, and special characters (~`!@#$%^&*()-+_=\|[{}];",<.>/?).
    • Must not be the same as the username or 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:

    Successful to modify password.