Changing the Password for the LDAP Administrator

Scenario

It is recommended that the administrator periodically changes the passwords of LDAP administrator accounts cn=krbkdc,ou=Users,dc=hadoop,dc=com and cn=krbadmin,ou=Users,dc=hadoop,dc=com to improve the system O&M security.

Impact on the System

Prerequisites

You have obtained the management node IP address.

Procedure

  1. Log in to the active management node as user omm with the IP address of the active management node.
  2. Run the following command to go to the related directory:

    cd ${BIGDATA_HOME}/om-server/om/meta-0.0.1-SNAPSHOT/kerberos/scripts

  3. Run the following command to change the password of the LDAP administrator account:

    ./okerberos_modpwd.sh

    Enter the old password and then enter a new password twice.

    The password complexity requirements are as follows:

    • The password contains 16 to 32 characters.
    • The password contains at least three types of the following: uppercase letters, lowercase letters, digits, spaces, and special characters which can only be `~!@#$%^&*()-_=+|[{}];,<.>/?.
    • The password cannot be the same as the current password.

    If the following information is displayed, the password is changed successfully.

    Modify kerberos server password successfully.

  4. Log in to FusionInsight Manager, click Cluster, click the name of the desired cluster, and choose Services > KrbServer. On the displayed page, choose More > Restart Service.

    Enter the password and do not select Restart upper-layer services. Click OK to restart the KrbServer service.