What Should I Do If an Error Is Reported When the Sudo Permission Is Used?
Symptoms
A password is required after Run this task with sudo privileges is selected during the deployment of a host-related application.
Cause Analysis
You have selected Run this task with sudo privileges, but password-free settings have not been configured in the /etc/sudoers file on the Linux host.
Solution
In the /etc/sudoers file, add $username ALL=(ALL) NOPASSWD: ALL after root ALL=(ALL:ALL) ALL. $username indicates a username.
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