Help Center > > User Guide> MRS Manager Operation Guide (Applicable to 2.x and Earlier Versions)> Security Management> Changing the Password of an OS User

Changing the Password of an OS User

Updated at: Mar 25, 2021 GMT+08:00


This section describes how to periodically change the login passwords of the OS users omm, ommdba, and root on MRS cluster nodes to improve the system O&M security.

Passwords of users omm, ommdba, and root on each node can be different.


  1. Log in to the Master1 node and then log in to other nodes whose OS user passwords need to be changed.
  2. Run the following command to switch to user root:

    sudo su - root

  1. Run the following command to change the passwords of users omm, ommdba, or root:

    passwd omm

    passwd ommdba

    passwd root

    For example, if you run the omm:passwd command, the system displays the following information:

    Changing password for user omm.
    New password:

    Enter a new password. The password change policies for an OS vary according to the OS that is used.

    Retype new password:
    passwd: all authentication tokens updated successfully.

    The default password complexity requirements of the MRS cluster are as follows:

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

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?

Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel