The following table lists the set_agent_mode options:
Option |
Description |
---|---|
Enable root mode |
Enables the Agent to run jobs by any user, but no password is required. The Agent process is started under Root. NOTE: The su OS command is used. |
Enable non root mode |
Enables the Agent to run jobs by any user, but a password is required. The Agent process is started under the Agent account. NOTE: The BMC su command is used. |
Enable sudo mode |
Enables the Agent to run jobs by any user, but no password is required for the Agent account in the sudoers file. The Agent process is started under the Agent account. NOTE: You must have Sudo version 1.7 or above The user needs to be granted the appropriate Sudo permissions in the /etc/sudoers file. NOTE:
When running sudo with specific command restrictions (in the sudoers file) for each user, it stops working. For example, <agent_owner_account> ALL=(ALL) NOPASSWD: <command restrictions>. By default the –i flag is used with the sudo command (for loading user environment setting such as .profile). To disable it add the parameter, SUDO_USE_I_FLAG, to the OS.dat file with value n or N. |
Prepare the agent for non root uninstall |
Returns the agent to the state it was in after the installation and removes it from the /etc/ctm.conf file |
Parent Topic |