AOSX-11-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 logon 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

https://iasecontent.disa.mil/stigs/zip/U_Apple_OS_X_10-11_V1R6_STIG.zip

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-3(7), CAT|I, CCI|CCI-000366, Rule-ID|SV-82199r1_rule, STIG-ID|AOSX-11-000995, Vuln-ID|V-67709

Plugin: Unix

Control ID: f3fe867f8195aeb18051f4dfe6b033a1f6cfaf6ec8afc62d2dabe1f604b5fbf1