The sudoers file must be configured to require authentication on every use.

From Apple OS X 10.8 (Mountain Lion) Workstation STIG

Part of SRG-OS-999999

Associated with: CCI-000366

SV-65453r1_rule The sudoers file must be configured to require authentication on every use.

Vulnerability discussion

Do not allow direct root login because the logs cannot identify which administrator logged in. Instead, log in using accounts with administrator privileges, and then use the sudo command to perform actions as root. This limits the use of the sudo command to a single command per authentication.

Check content

To check the timestamp_timeout value, run the following command : sudo grep timestamp_timeout /etc/sudoers If this setting is not defined, or defined for a value other than "0", this is a finding.

Fix text

Edit the /etc/sudoers file to contain the line "Defaults timestamp_timeout=0"

Pro Tips

Lavender hyperlinks in small type off to the right (of CSS class id, if you view the page source) point to globally unique URIs for each document and item. Copy the link location and paste anywhere you need to talk unambiguously about these things.

You can obtain data about documents and items in other formats. Simply provide an HTTP header Accept: text/turtle or Accept: application/rdf+xml.

Powered by sagemincer