Help Center/ Elastic Cloud Server/ User Guide (Ankara Region)/ Passwords and Key Pairs/ Passwords/ Resetting the Password for Logging In to an ECS on the Management Console
Updated on 2024-04-15 GMT+08:00

Resetting the Password for Logging In to an ECS on the Management Console

Scenarios

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

Prerequisites

  • You have installed the password reset plug-in before your ECS password expires or is forgotten.
  • One-click password reset is available only in Chinese regions.
  • Do not delete the CloudResetPwdAgent or CloudResetPwdUpdateAgent process. Otherwise, one-click password reset will not be available.
  • One-click password reset can be used on the ECSs created using SUSE 11 SP4 only if their memory capacity is greater than or equal to 4 GiB.
  • DHCP is enabled in the VPC to which the ECS belongs.
  • The ECS network connectivity is normal.

Procedure

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

If you reset the password when the ECS is running, the new password takes effect only after the ECS is restarted. You can manually restart the ECS after resetting the password, or select Auto Restart when resetting the password.

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

    The ECSs with the one-click password reset plug-in installed support password reset in a batch. To do so, perform the following operations:

    1. Select the target ECSs.
    2. Click More above the ECS list and select Reset Password from the drop-down list.
    3. Set a new password as prompted.

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

  4. Set and confirm a new password as prompted.
    The new password must meet the complexity requirements listed in Table 1.
    Table 1 Password complexity requirements

    Parameter

    Requirement

    Password

    • Consists of 8 to 26 characters. For specific requirements on the password length, see the information displayed on the console.
    • 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 consecutive characters in the same sequence as they appear in the username. (This requirement applies only to Windows ECSs.)
    • Cannot start with a slash (/) for Windows ECSs.
  5. Click OK.

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

    • If the ECS is running when you reset the password, you need to manually restart the ECS for the new password to take effect.
    • If the ECS is stopped, the new password will take effect after you start the ECS.