AOSX-09-000995 - The sudoers file must be configured to authenticate users on a per-tty basis.

Information

The sudo command must be configured to prompt for the administrator user's password at least once in each newly opened Terminal window or remote login session, as this prevents a malicious user from taking advantage of an unlocked computer or an abandoned login session to bypass the normal password prompt requirement. Without the tty_tickets option, all open local and remote login sessions would be authenticated to use sudo without a password for the duration of the configured password timeout window.

Solution

Edit the /etc/sudoers file to contain the line:

Defaults tty_tickets

This line can be placed in the Defaults section or at the end of the file.

See Also

http://iasecontent.disa.mil/stigs/zip/U_Apple_OS_X_10-9_Workstation_V1R2_STIG.zip

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-3(7), CAT|I, CCI|CCI-000366, Group-ID|V-58415, Rule-ID|SV-72845r1_rule, STIG-ID|AOSX-09-000995

Plugin: Unix

Control ID: 8b5dfb36b6c9fd5d0b94a54a59e9eb8447107f4657eb496441386ae2c33e8fcc