Return to Navigation

Process Monitor Target Setup Fails When Using SUDO Credentials

This section describes how to resolve sudo credential issues when setting up Process Monitor targets.

The agent-side plug-in element is not able to get the EMHOME environment variable when it's invoked by a sudo user. This is because the "env_reset" command in the sudo configuration file. The sudo env_reset command in the sudoers file (/etc/sudoers) resets the environment to a default set of variables. After the reset, the variable EMHOME gets set to blank. The plug-in fails to discover or setup the Process Monitor due to the blank value in EMHOME.

Remove/comment "env_reset" command in the sudoers configuration file ((/etc/sudoers)) for sudo in the host.