User impersonation for process steps
HCL DevOps Deploy (Deploy) can use user impersonation when an agent must run a command for which it might not otherwise have permission, or when a specific user must be employed for a process.
On UNIX™ and Linux™ systems, the su and sudo commands are used to impersonate users; on Windows™ Deploy provides a utility program to handle impersonation. You implement impersonation when you configure a component's plug-in process step or resource.
When using impersonation, the user running the agent needs to have read, write, and execute access to the <DEPLOY_AGENT_HOME>/var/work directory.
The user starting the plugin as impersonating user needs to also have read, write, and execute access to the <DEPLOY_AGENT_HOME>/var/work directory.