• MapReduce Service

mrs
  1. Help Center
  2. MapReduce Service
  3. User Guide
  4. MRS Manager Operation Guide
  5. Security Management
  6. Changing the Password for the OMS Database Administrator

Changing the Password for the OMS Database Administrator

Scenario

Periodically change the password for the OMS database administrator to ensure the system O&M security.

Procedure

  1. Log in to the active management node.

    NOTE:

    The password of user ommdba cannot be changed on the standby management node; otherwise, the cluster cannot work properly. Change the password of user ommdba on the active management node only.

  2. Run the following command to switch the user:

    sudo su - root

    su - omm

  3. Run the following command to go to the related directory:

    cd $OMS_RUN_PATH/tools

  4. Run the following command to change the password for user ommdba:

    mod_db_passwd ommdba

  5. Enter the old password of user ommdba and enter a new password twice. The password change takes effect on all servers.

    The password complexity requirements are as follows:

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

    Congratulations, update [ommdba] password successfully.