Updated on 2024-09-25 GMT+08:00

Resetting the Password for a FlexusX Instance

Scenarios

If you did not set a password when purchasing a FlexusX instance, or the password expired or was forgotten, reset the password by following the instructions provided in this section.

Constraints

You can only reset the password if the FlexusX instance is in the Stopped or Running state. If you reset the password when the FlexusX instance is in Running state, the password change will be not applied until the instance is restarted.

Prerequisites

  • Do not delete the CloudResetPwdAgent or CloudResetPwdUpdateAgent process. Otherwise, one-click password reset will not be available.
  • DHCP is enabled for the VPC that the FlexusX instance belongs to.
  • The FlexusX instance network connectivity is normal.

Procedure

  1. Log in to the FlexusX console, in the upper left corner, click , and select a region and project.
  2. Locate the target FlexusX instance, and in the Operation column, choose More > Reset Password.
    You can also select multiple FlexusX instances and click Reset Password above the instance list to perform batch operations.
    Figure 1 Reset Password

  3. Set and confirm a new password as prompted.

    If you reset the password for a running FlexusX instance, the password change is not applied until after the next restart. Select Auto Restart.

    The new password must meet the password complexity requirements.
    Table 1 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.)
  4. Click OK.
    • If the FlexusX instance is running when you reset the password, manually restart the instance for the new password to take effect.
    • If the FlexusX instance is stopped, the new password will take effect after you start the instance.