Help Center > > User Guide> MRS Manager Operation Guide (Applicable to 2.x and Earlier Versions)> Security Management> Changing the Password of the Kerberos Administrator

Changing the Password of the Kerberos Administrator

Updated at: Sep 02, 2021 GMT+08:00

Scenario

This section describes how to periodically change the password of the Kerberos administrator kadmin of the MRS cluster to improve the system O&M security.

If the password is changed, the downloaded user credential will be unavailable. Download the authentication credential again, and replace the old one.

Prerequisites

A client has been prepared on the Master1 node.

Procedure

  1. Log in to the Master1 node.
  2. (Optional) To change the password as user omm, 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 configure environment variables:

    source bigdata_env

  5. Run the following command to change the password of kadmin/admin. This operation takes effect for all servers.

    kpasswd kadmin/admin

    For the cluster, the default password complexity requirements 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 password cannot be the username or the reverse username.

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel