(Optional) Installing the One-Click Password Reset Plug-in
To enable one-click password reset for BMSs created using images, you are advised to install the password reset plug-in Cloud-reset-pwd Agent.
To uninstall the plug-in, see Uninstall the Password Reset Plugin from a Linux VM.
The one-click password reset plug-in does not support Kunpeng servers.
Prerequisites
A Linux VM must have larger than 600 MB remaining space and data can be written to its root directory.
Procedure
- Download password reset plug-in CloudResetPwdAgent.zip.
There is no special requirement for the directory where you store the plug-in package.
wget http://cn-south-1-cloud-reset-pwd.obs.cn-south-1.myhuaweicloud.com/linux/64/reset_pwd_agent/CloudResetPwdAgent.zip
- Run the following command to decompress CloudResetPwdAgent.zip:
There is no special requirement for the directory where you decompress the plug-in package.
unzip -o -d Directory where the plug-in is decompressed CloudResetPwdAgent.zip
For example, if the plug-in is decompressed in the /home/linux/test directory, run the following command:
unzip -o -d /home/linux/test CloudResetPwdAgent.zip
- Install CloudResetPwdAgent and CloudResetPwdUpdateAgent.
- Run the following command to enter CloudResetPwdUpdateAgent.Linux:
cd /home/linux/test/CloudResetPwdAgent/CloudResetPwdAgent/CloudResetPwdUpdateAgent.Linux
- Run the following command to add execute permissions of the setup.sh file:
chmod +x setup.sh
- Run the following command to install the plug-in:
- Run the following command to check whether the plug-in is installed successfully:
service cloudResetPwdUpdateAgent status
If the status of CoudResetPwdUpdateAgent is running, the plug-in is installed successfully. Otherwise, the plug-in installation fails.
If the plug-in installation fails, check the installation environment and install the plug-in again.
- Run the following command to enter CloudResetPwdUpdateAgent.Linux:
Uninstall the Password Reset Plugin from a Linux VM
Log in to the VM and run the following commands:
- sudo bash /CloudrResetPwdAgent/bin/cloudResetPwdAgent.script remove
- sudo bash /CloudResetPwdUpdateAgent/bin/cloudResetPwdUpdateAgent.script remove
- sudo rm -rf /CloudrResetPwdAgent
- sudo rm -rf /CloudResetPwdUpdateAgent
Last Article: (Optional) Installing the UltraPath
Next Article: Performing Security Configurations
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.