Updated on 2024-06-18 GMT+08:00

Resetting a Password

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 reset the password only when 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 applied only after the FlexusX 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, click in the upper left corner, 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 applied only after the next restart. Select Auto Restart.

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