UCF STIG Viewer Logo

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


Overview

Finding ID Version Rule ID IA Controls Severity
V-51243 OSX8-00-01000 SV-65453r1_rule High
Description
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.
STIG Date
Apple OS X 10.8 (Mountain Lion) Workstation STIG 2015-02-10

Details

Check Text ( C-53591r1_chk )
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 (F-56043r1_fix)
Edit the /etc/sudoers file to contain the line "Defaults timestamp_timeout=0"