Updated on 2025-12-10 GMT+08:00

Overview of Password Reset

What Is a Password?

Passwords are used to log in to ECSs. If you select the password login mode when creating an ECS, you can use the username and password to log in to the ECS. The password is very important. Keep it secure.

You can set a password when creating an ECS.

You can reset the password in any of the following scenarios:
  • The password is lost.
  • The password has expired.
  • You intend to change the initial password at the first login.
  • You selected Set password later or Key pair for Login Mode during ECS creation.

Password Reset Scenarios

Table 1 describes the methods of resetting passwords for ECSs.

Table 1 Password reset methods

Scenario

Prerequisites

Resetting the Password in the ECS OS

N/A

NOTE:

The reference is for Windows or Linux ECSs.

Resetting the Password of a Windows ECS by Attaching a System Disk to a Temporary ECS

The password reset plug-in has not been installed.

Resetting the Password of a Linux ECS by Attaching a System Disk to a Temporary ECS

The password reset plug-in has not been installed.

Password Complexity Requirements

Table 2 shows the ECS password complexity requirements.

Table 2 Password complexity requirements

Parameter

Requirement

Password

  • Consists of 8 to 26 characters.
  • Contains at least three of the following character types:
    • Uppercase letters
    • Lowercase letters
    • Digits
    • Special characters for Windows ECSs: $!@%-_=+[]:./,?
    • Special characters for Linux ECSs: !@%-_=+[]:./^,{}?
  • 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.)