Sudo allows certain users to get elevated access to certain commands even if they do not have root access. The sudoers file contains a list of rules that control the behavior of sudo. The Sudo policy controls the rules defined in the sudoers file.
The Sudo policy allows you to add, edit, remove and re-order sudo rules. A sudo rule consists of three parts:
- The command or commands to run.
- The user the command should be 'run as'. Typically this is the root user.
- A list of users or groups that the rule applies to.
To use Active Directory groups in sudo rules, select the Resolve Active Directory group names in /etc/sudoers option. This option requires Sudo 1.8 on the Unix host.
Note: The Sudo policy does not support all possible sudo configurations. If you need to handle more advanced scenarios you can use a file copy policy to place your base sudoers file and use a script policy to customize it.