Computers - Sudoers
Sudoers policy on Linux and BSD computers.
Get the last-scanned and staged sudoers for a Linux computer
Returns the sudoers last seen by a scan (`lastScanSudoers`) and the sudoers staged as the desired state for Protect mode (`stagedSudoers`).
Stage a desired-state sudoers file for a Linux computer
Stores the supplied full sudoers text as the staged (desired-state) sudoers.
Discard the staged sudoers for a Linux computer
Deletes the staged sudoers so the computer falls back to the last scanned sudoers, and refreshes the admin inventory from it.
Get the sudoers entries that apply to one inventory administrator
Returns the sudoers entries that grant the account privileges, including entries reached through user