Help Center> Huawei Cloud Flexus> User Guide> Password> Resetting an HECS Password on the Management Console

Resetting an HECS Password on the Management Console

Scenarios

If you did not set a password when creating an HECS, or the password is forgotten or expired, reset the password by following the instructions provided in this section.

If you reset the password for a running HECS, the new password takes effect only after the HECS is restarted. You can select Auto Restart.

Prerequisites

  • You have installed password reset plug-ins before your HECS password is forgotten or expires.
    • The password reset plug-ins have been installed on the HECSs created using a public image by default.
    • If you use a private image to create an HECS (for example, using a private image to change the OS), install the password reset plug-in first.
  • Do not delete the CloudResetPwdAgent or CloudResetPwdUpdateAgent process. Otherwise, one-click password reset will not be available.
  • DHCP is enabled in the VPC to which the HECS belongs.
  • The HECS network is accessible.

Procedure

Perform the following operations to change the login password of one or multiple HECSs in a batch on the management console.

  1. Log in to the management console.
  2. Under Computing, click Hyper ECS.
  3. Locate the row containing the target HECS, click More in the Operation column, and select Reset Password from the drop-down list.
    Figure 1 Reset Password

    The HECSs with one-click password reset plug-ins installed support batch resetting of passwords. To batch reset passwords, perform the following operations:

    1. Select the target HECSs.
    2. Click Reset Password in the upper part of the HECS list.
    3. Set a new password as prompted.

      After the resetting, the login passwords of these HECSs are the same.

  4. Set and confirm a new password as prompted.

    If you reset the password for a running HECS, the new password takes effect only after the HECS is restarted. You can select Auto Restart.

    The new password must meet the complexity requirements listed in Table 1.
    Table 1 Password complexity requirements

    Parameter

    Requirement

    Example Value

    Password

    • Consists of 8 characters to 26 characters.
    • Contains at least three of the following character types:
      • Uppercase letters
      • Lowercase letters
      • Digits
      • Special characters for Windows: $!@%-_=+[]:./,?
      • Special characters for Linux: !@%-_=+[]:./^,{}?
    • Cannot contain the username or the username spelled backwards.
    • Cannot contain more than two characters in the same sequence as they appear in the username. (This requirement applies only to Windows ECSs.)

    YNbUwp!dUc9MClnv

    NOTE:

    The example password is generated randomly. Do not copy this example password.

  5. Click OK.

    It takes about 10 minutes for the system to reset the password. Do not repeatedly perform this operation.

    The new password takes effect after the HECS is started.