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

Initializing MRS Cluster User Passwords

To reset a forgotten password or periodically change a public account password, administrator can initialize a new password on the Manager. The system user must then change the password upon their first login.

Impact on the System

If you have downloaded a user authentication file, download it again and obtain the keytab file after initializing the password of the MRS cluster user.

Initializing the Password of a Human-Machine User

For MRS 3.x and later versions:

  1. Log in to FusionInsight Manager.
  2. Choose System > Permission > User.
  3. Locate the row that contains the target user, click More, and select Initialize Password. In the displayed dialog box, enter the password of the current login user and click OK. In the Initialize Password dialog box, click OK.
  4. Set New Password and Confirm Password, and click OK.

    The password must meet the following complexity requirements:

    • Contains at least 8 characters.
    • Contains at least four types of the following: uppercase letters, lowercase letters, numbers, spaces, and special characters (`~!@#$%^&*()-_=+|[{}];',<.>/\?).
    • Cannot be the same as the username or the username spelled backwards.
    • Cannot be a common easily-cracked password.
    • Cannot be the same as the password used in the latest N times. N indicates the value of Repetition Rule configured in Configuring Password Policies for MRS Cluster Users.

For MRS 2.x and earlier:

  1. On MRS Manager, click System.
  2. In the Permission area, click Manage User.
  3. Locate the row that contains the user whose password is to be initialized, choose More > Initialize password, and change the password as prompted.

    In the window that is displayed, enter the password of the current administrator account and click OK. Then in Initialize password, click OK.

    For the cluster, the default password complexity requirements are as follows:
    • The password must contain 8 to 32 characters.
    • The password must contain at least three types of the following: uppercase letters, lowercase letters, digits, spaces, and special characters ('~!@#$%^&*()-_=+\|[{}];:'",<.>/?).
    • The password cannot be the username or the reverse username.

Initializing the Password of a Machine-Machine User

  1. Prepare a client based on service conditions and log in to the node with the client installed.
  2. Run the following command to switch the user:

    sudo su - omm

  3. Run the following command to switch to the client directory, for example, /opt/client:

    cd /opt/client

  4. Run the following command to set environment variables:

    source bigdata_env

  5. Run the following command to log in to the console as user kadmin/admin:

    kadmin -p kadmin/admin

    The default password of user kadmin/admin is KAdmin@123, which will expire upon your first login. Change the password as prompted and keep the new password secure.

  6. Run the following command to reset the password of a component running user. This operation takes effect on all servers:

    cpw Component running user name

    For example, cpw oms/manager.

    For the cluster, the default password complexity requirements are as follows:
    • The password must contain 8 to 32 characters.
    • The password must contain at least three types of the following: uppercase letters, lowercase letters, digits, spaces, and special characters ('~!@#$%^&*()-_=+\|[{}];:'",<.>/?).
    • The password cannot be the username or the reverse username.