OSX00110 M6 - sudo usage must be restricted to a single terminal, and for only one instance - '/etc/sudoers - Defaults tty_tickets exists'

Information

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. These limit the use of the sudo command to a single command per authentication and also ensure, even if a timeout is activated, that later sudo commands are limited to the terminal in which authentication occurred.

Solution

Open a terminal session and enter the following commands to set the values in the /etc/sudoers file.

VISUAL=pico visudo

Enter the following two lines in the file.

Defaults tty_tickets
Defaults timestamp_timeout=0

Save and exit the file.

See Also

http://iase.disa.mil/stigs/os/mac/u_mac_osx_10.6_v1r3_stig_20130426.zip

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-3(7), CAT|I, Rule-ID|SV-38614r1_rule, STIG-ID|OSX00110-M6, Vuln-ID|V-25262

Plugin: Unix

Control ID: 66a611770a4c3edd5afa94f5ea83ea20e5d2388c093525f2d61e84184f5bed0b