SUDO Error During Deployment Procedure Execution
Issue
A SUDO error occurs while performing a deployment.
Description
While performing a deployment, all root-related operations are performed over SUDO. To improve security, production environments tend to fortify SUDO. Therefore, you may encounter errors related to SUDO.
Solution
Make the following changes in your Sudoer's file:
- Remove entry
Default requiretty, if it exists in your Sudoer's file. - If the Sudoers file contains the
Default env_resetparameter, add the following entries after it:Defaults env_keep="JRE_HOME PERL5LIB EMDROOT"