(Optional) Installing the One-Click Password Reset Plug-in
To ensure that you can reset the password of each ECS created from the image with a few clicks, you are advised to install the one-click password reset plug-in (CloudResetPwdAgent) on the VM which is used as the image source.
Procedure
- Download the CloudResetPwdAgent software package.
The one-click password reset plug-in can be automatically updated only if an EIP is bound to the VM.
You can download the CloudResetPwdAgent.zip package from:
For 32-bit OSs: http://ap-southeast-1-cloud-reset-pwd.obs.ap-southeast-1.myhuaweicloud.com/linux/32/reset_pwd_agent/CloudResetPwdAgent.zip
For 64-bit OSs: http://ap-southeast-1-cloud-reset-pwd.obs.ap-southeast-1.myhuaweicloud.com/linux/64/reset_pwd_agent/CloudResetPwdAgent.zip
- Run the following command to decompress CloudResetPwdAgent.zip:
unzip -o -d Decompressed directory CloudResetPwdAgent.zip
There is no special requirement for the directory that stores the decompressed CloudResetPwdAgent.zip. You can choose a directory as you need. If the directory is /home/PwdAgent/test, the command is as follows:
unzip -o -d /home/PwdAgent/test CloudResetPwdAgent.zip
- Install the one-click password reset plug-in.
- Run the following command to open the CloudResetPwdAgent.Linux file:
cd CloudResetPwdAgent/CloudResetPwdAgent.Linux
- Run the following command to add the execute permission for 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 installation is successful:
service cloudResetPwdAgent status
If the status of CloudResetPwdAgent is not unrecognized service, the installation is successful. Otherwise, the installation failed.
If the installation failed, check whether the installation environment meets requirements and install the plug-in again.
- Run the following command to open the CloudResetPwdAgent.Linux file:
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