Updated on 2024-03-18 GMT+08:00

Changing the Password for an OS User

Scenario

During FusionInsight Manager installation, the system automatically creates user omm and ommdba on each node in the cluster. Periodically change the login passwords of the OS users omm and ommdba of the cluster node to improve the system O&M security.

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

Prerequisites

  • Obtain the IP address of the node where the passwords of users omm and ommdba are to be changed.
  • You need to obtain the password of user root before modifying user ommdba and omm.

Change the password of an OS User

  1. Log in to the node where the password is to be changed as user root.
  2. Run the following command to change the user password:

    passwd ommdba

    Red Hat system displays the following information:

    Changing password for user ommdba.
    New password:

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

    Retype New Password:
    Password changed.