• 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 an OS User

Changing the Password for an OS User

Scenario

Periodically change the login passwords of the OS users omm and ommdba of the MRS cluster node to improve the system O&M security.

The passwords of users omm and ommdba of the nodes can be different.

Procedure

  1. Log in to the Master1 node, and then log in to other nodes whose OS user password needs to be modified.
  2. Run the following command to switch to user root:

    sudo su - root

  3. Run the following command to change the password for omm/ommdba:

    passwd omm/ommdba

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

    Changing password for  user omm.
    New password:

    Enter a new password. The policy for changing the password of an OS user varies according to the OS that is being used.

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