Updated on 2022-09-26 GMT+08:00

Changing the Password of a Component Database User

Scenario

This section describes how to periodically change the password of the component database user to improve the system O&M security.

Impact on the System

The services need to be restarted for the new password to take effect. The services are unavailable during the restart.

Procedure

  1. On MRS Manager, click Services and click the name of the database user service to be modified.
  2. Determine the component database user whose password is to be changed.

    • To change the password of the DBService database user, go to 3.
    • To change the password of the Loader, Hive, or Hue database user, stop the service first and then execute 3.

    Click Stop Service.

  3. Choose More > Change Password.
  4. Enter the old and new passwords as prompted.

    The password complexity requirements are as follows:

    • The password of the DBService database user contains 16 to 32 characters. The password of the Loader, Hive, or Hue database user contains 8 to 32 characters.
    • The password must contain at least three types of the following: uppercase letters, lowercase letters, digits, and special characters ('~!@#$%^&*()-_=+\|[{}];:'",<.>/?).
    • The password cannot be the username or the reverse username.
    • The password cannot be the same as the last 20 historical passwords.

  5. Click OK. The system automatically restarts the corresponding service. When Operation successful is displayed, click Finish.