To be able to use sudo for running queries in the context of a super user, you can add the following in the sudoers file to disable password prompt for every command:
<name> ALL=NOPASSWD: ALL
where, <name> is the native user, whose credentials are specified in the credential database.
You may encounter the following issues if the password prompt is not disabled, and certain commands get blocked by not specifying a password:
Special values for certain commands such as hostname, may return different values.
If the uname command is blocked, validation of agent-less targets may fails and the data sources will not return data.
Data sources may return incomplete data.
See Example of the sudoers file.
See Configuring the SupportsSudo parameter in the bvAgentlessConfig.ini file.
See Optimizing queries using sudo in the ExecutionContext.ini file.
See Using sudo functionality for querying Oracle UNIX targets .
See Minimum required privileges to query an Oracle database.
Subscribing will provide email updates when this Article is updated. Login is required to Subscribe
Thanks for your feedback. Let us know if you have additional comments below. (requires login)
This will clear the history and restart the chat.