Resetting the Password of a FlexusL Instance Online or Offline
Scenarios
You can reset a password for one or more FlexusL instances when:
- You use FlexusL instances for the first time. FlexusL instances do not have initial passwords.
- The password is lost or expires.
Online password reset is not available in a few regions. Refer to the console display for specific availability.
Constraints
Item |
Online Password Reset |
Offline Password Reset |
---|---|---|
Service dependency |
Cloud Operations Center (COC) needs to be enabled and authorized. For IAM users, permissions for COC operations need to be granted. For details, see Configuring Custom Policies for FlexusL Self-Service O&M. |
N/A |
Plug-in dependency |
The UniAgent plug-in provided by Application Operations Management (AOM) needs to be deployed on FlexusL instances for delivering and executing scripts. If a UniAgent is not installed, being installed, or abnormal, you cannot reset the password online. Install a UniAgent as instructed. |
A password reset plug-in is required.
|
Supported status |
Running |
|
Effective time |
The new password will be applied immediately after the reset. |
Depending on the statuses of FlexusL instances.
|
Other |
Passwords cannot be reset for FlexusL instances running Windows and Linux in the same batch. |
N/A |
Prerequisites
Ensure that the FlexusL instance network is normal and DHCP has been enabled for the VPC network used by the instance.
Procedure
You can reset the password online or offline.
- Online password reset: This function depends on COC and the AOM UniAgent plug-in. The password change is applied immediately without restarting FlexusL instances.
- Offline password reset: This function does not depend on COC and the AOM UniAgent plug-in. The password change is applied only after FlexusL instances are restarted or started.
- Log in to the FlexusL console.
- Reset the password for one or more FlexusL instances.
- Resetting the password for logging in to a single FlexusL instance in any of the following ways:
- Choose
> Reset Password in the target resource card.
- Click the target instance name. On the displayed page, choose
> Reset Password.
- Click the target instance name. In the navigation pane on the left, choose Cloud Servers, locate the target server, and click Reset Password.
Figure 1 Resetting the password for an individual instance
- Choose
- Batch resetting passwords
Enable Batch operations, select Select all or select the target instances, and choose More > Reset Password.
Figure 2 Resetting passwords for multiple instancesAfter the passwords are reset in a batch, the passwords for logging in to these instances are the same.
- Resetting the password for logging in to a single FlexusL instance in any of the following ways:
- Click the Online Password Reset tab.
- (Optional) On the Enable COC and Grant Permissions page, read and agree to the service statement, and click Enable and Authorize.
This page is displayed if COC is not enabled and authorized.
- (Optional) If UniAgents are not installed or an exception occurs during the installation, log in to the FlexusL instances and install UniAgents on FlexusL instances as instructed.
Figure 3 Message displayed
- Click Install UniAgent in the Operation column.
Figure 4 Installing UniAgent (Linux OS used as an example)
- Select a UniAgent version. The latest version is recommended.
- Click the copy button in the upper right corner of the installation command area to copy the installation command.
- Click Log In to Cloud Server.
- Run the UniAgent installation command on the FlexusL instances.
- For FlexusL instances running Windows, download the installation package and install UniAgents as instructed.
- For FlexusL instances running Linux: paste and execute the installation command copied in step 5.c.
- Return to the Online Password Reset tab and click refresh the UniAgent status to check the UniAgent installation status.
UniAgent installation and status synchronization take several minutes. After UniAgents are installed, you can perform the subsequent operations.
- Click Install UniAgent in the Operation column.
- Configure the required parameter settings.
Figure 5 Resetting the password online
Table 2 Parameters for resetting the password online Parameter
Description
New Password
The new password.
The new password must comply with the following rules:- Must contain 8 to 26 characters.
- Must contain at least three of the following character types:
- Cannot contain the username or the username spelled backwards.
- Cannot contain more than two consecutive characters in the username (only applied to Windows).
- Cannot start with a slash (/) (only applied to Windows).
Confirm Password
Must be the same as the new password.
- Click OK.
- Log in to the FlexusL console.
- Reset the password for one or more FlexusL instances.
- Resetting the password for logging in to a single FlexusL instance in any of the following ways:
- Choose
> Reset Password in the target resource card.
- Click the target instance name. On the displayed page, choose
> Reset Password.
- Click the target instance name. In the navigation pane on the left, choose Cloud Servers, locate the target server, and click Reset Password.
Figure 6 Resetting the password for an individual instance
- Choose
- Batch resetting passwords
Enable Batch operations, select Select all or select the target instances, and choose More > Reset Password.
Figure 7 Resetting passwords for multiple instancesAfter the passwords are reset in a batch, the passwords for logging in to these instances are the same.
- Resetting the password for logging in to a single FlexusL instance in any of the following ways:
- Set and confirm a new password as instructed.
If you reset the password for a running server, the password change is applied only after the next restart. Select Auto Restart.
Figure 8 Resetting the password offlineTable 3 Parameters for resetting the password online Parameter
Description
New Password
The new password.
The new password must comply with the following rules:- Must contain 8 to 26 characters.
- Must contain at least three of the following character types:
- Cannot contain the username or the username spelled backwards.
- Cannot contain more than two consecutive characters in the username (only applied to Windows).
- Cannot start with a slash (/) (only applied to Windows).
Confirm Password
Must be the same as the new password.
- Click OK.
The password change will be applied after the instance is restarted. Log in to the instance to verify the new password.
- Do not reset the password repeatedly.
- Restarting an instance usually takes dozens of seconds to several minutes, depending on the instance configuration.
Helpful Links
- Remotely Logging In to a FlexusL Instance
- Where Can I Find the Username and Password for Remotely Logging In to a FlexusL Instance?
- What Should I Do If the Password Cannot Be Reset After I Use a Private Linux Image to Create a FlexusL Instance or Change the OS of an Existing FlexusL Instance and I Forgot the Initial Password of the Private Image?
- What Should I Do If the Password Cannot Be Reset After I Use a Private Linux Image to Create a FlexusL Instance or Change the OS of an Existing FlexusL Instance and I Know the Initial Password of the Private Image?
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot