Using sudo functionality for querying Oracle UNIX targets
Though CCS requires only minimum privileges for data collection, in some cases you may require to query targets using higher privileges. The Sudo functionality permits you to execute a command on the target computer, as a super user, or another user. For agent-less raw data collection on Oracle UNIX targets, you can use the Oracle sudo (superuser do) functionality to run queries in the context of a super user.
To use the Sudo functionality:
Ensure that the sudo program must be installed on the UNIX target computer, on which you want to use the sudo functionality.
In the sudoers file, list the user accounts you will use to run the commands. Users whose credentials are added in the credentials database must have corresponding user accounts listed in the sudoers file. The sudoers file is located in the /etc directory of the UNIX target computer.
If you are the invoking user and a root user, and if the target user is the same as the invoking user, no password is required. However, if the invoking user and the target user are different, you must specify a password to execute commands on the target computer.
In the bvAgentlessConfig.ini file, enable the sudo option must by configuring the SupportsSudo parameter. The bvAgentlessConfig.ini file is located in the <INSTALL_DIR>\Symantec\CCS\Reporting and Analytics\DPS\control\Unix\ConfigFilesfolder of the CCS Manager.
In the ExecutionContext.ini file, prefix the word sudo before the commands of a query, to run the queries in the context of a super user. The ExecutionContext.ini file is located in the <INSTALL_DIR>\Symantec\CCS\Reporting and Analytics\DPS\control\Unix\ConfigFilesfolder of the CCS Manager.