Help Center> CodeArts Deploy> FAQs> Custom Application Actions> Health Test via URLs> Error Occurs During Application Deployment with the sudo Privileges
Updated on 2023-05-26 GMT+08:00

Error Occurs During Application Deployment with the sudo Privileges

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.

Health Test via URLs FAQs

more