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

Changing the Passwords for OS Users of an MRS Cluster Node

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

You do not need to set a unified password for the OS users on each node.

Prerequisites

  • You have obtained the IP address of the node where the passwords of users omm and ommdba are to be changed.
  • You have obtained the password of user root before changing the passwords of users omm and ommdba.

Changing the Password of the OS User of an MRS Cluster Node

  1. Log in to the node that requires password change as user root.
  2. Run the following command to switch the user:

    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, after you run the command to change the password of user omm, the following information is displayed:

    Changing password for user omm.
    New password:
    Retype new password:

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

    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.