Updated on 2024-11-27 GMT+08:00

Application Scenarios for Using Passwords

The password for logging in to your ECS is important and please keep it secure. You can reset the password if it is forgotten or expires.

Table 1 provides guidance on how to reset your password in different scenarios.

Table 1 Resetting a password

Reference

Prerequisites

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

The password reset plug-in has been installed.
NOTE:
  • If your ECS was created using a public image, the password reset plug-in was installed on the ECS by default.
  • The reference is for Windows or Linux ECSs.
  • One-click password reset is available only in Chinese regions.

Resetting the Password for Logging In to an ECS in the OS

N/A

NOTE:

The reference is for Windows or Linux ECSs.

Resetting the Password for Logging In to a Windows ECS

The password reset plug-in has not been installed.

Resetting the Password for Logging In to a Linux ECS

The password reset plug-in has not been installed.

Background

Table 2 shows the ECS password complexity requirements.

Table 2 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 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.)