Updated on 2025-09-08 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 purchasing 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 purchasing an ECS. If you do not set a password during the purchase or if the password is lost or expired, you can reset the password.

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 purchase.

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

Resetting the Password for Logging In to a Linux 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 Linux ECSs: !@%-_=+[]:./^,{}?
  • Cannot contain the username or the username spelled backwards.