- Documentation
Elastic Compute Service
Elastic Compute Service
User Guide
Security
Passwords and key pairs
Upgrading reset-authentication plug-in
Passwords and key pairs
Upgrading reset-authentication plug-in
Upgrading reset-authentication plug-in
Applicable scenarios
Procedure
Linux images
Refer to the following instructions to upgrade the reset-authentication plug-in based on your Linux distribution.
tip
- Instances created using CentOS 6.9/6.10 or Ubuntu 14.04 do not support hostname changes.
- For an instance in the China (Beijing) region, if an EIP is not associated with the instance, you can use the private domain name to download the reset-authentication plug-in. For an instance in other regions, associate an EIP with the instance, and then use the public domain name to download the reset-authentication plug-in.
Ubuntu, Debian, and veLinux series
OpenSUSE, Fedora, CentOS 7/8/Stream, Rocky Linux, and AlmaLinux series
- Execute the following command to check whether the reset-authentication plug-in is installed.
- If the following output is displayed, the 1.0.4 version of the reset-authentication plug-in has been installed. Proceed to Step 3.
-
- If the following output is displayed, the plug-in is not installed. Proceed to Step 4.
-
- Execute the following command to uninstall the old version of the reset-authentication plug-in.
- Execute the following command to download the latest version of the plug-in.
- Download over the Internet
- Download over the intranet
warning
Only the China (Beijing) region supports this feature.
- Execute the following command to install the latest version of the plug-in.
- Execute the following command. If "active" is displayed in the output, the plug-in is successfully installed.
- Execute the following command. If "enabled" is displayed in the output, the plug-in is successfully installed.
- Execute the following command to check whether the reset-authentication plug-in is installed.
- If the following output is displayed, the 1.0.4 version of the reset-authentication plug-in has been installed. Proceed to Step 3.
-
- If the following output is displayed, the plug-in is not installed. Proceed to Step 4.
-
- Execute the following command to uninstall the old version of the reset-authentication plug-in.
- Execute the following command to download the latest version of the plug-in.
- Download over the Internet
- Download over the intranet
warning
Only the China (Beijing) region supports this feature.
- Execute the following command to install the latest version of the plug-in.
- Execute the following command. If "active" is displayed in the output, the plug-in is successfully installed.
- Execute the following command. If "enabled" is displayed in the output, the plug-in is successfully installed.
Windows images
- Check whether the reset-authentication plug-in is installed.
- Check whether the C:\Program Files\Reset Authentication directory exists and whether there are any files and a log folder in the directory, open the log file, and view the version.
- If the preceding files exist, an older version of the plug-in has been installed (as shown in the following figure). You can re-download the new plug-in and execute the following command to start the reset-authentication plug-in.
- "C:\Program Files\Reset Authentication\reset-authentication.exe"
- If the preceding files do not exist, the reset-authentication plug-in is not installed. Proceed to Step 3.
- Download and install the latest version of the plug-in.
- Create the C:\Program Files\Reset Authentication directory.
- On the desktop of the ECS instance, click "Start > Windows PowerShell" to open PowerShell.
- Execute the following commands in PowerShell to download the ps1 auto-start script and the reset-authentication plug-in, and save them to the specific directories.
- Reset-authentication plug-in
- In PowerShell, execute the following commands in sequence to perform initialization operations.
- Execute the following command to obtain the instance UUID.
- Execute the following command to delete part of the Cloudbase-init registry configuration so that the reset-authentication plug-in can work as expected.
- If you have not run Cloudbase-init, you do not need to execute this command.
- Execute the following command to start the reset-authentication plug-in.
Last updated: 2026.06.18 17:49:49