SV-274880r1099901_rule
V-274880
SRG-OS-000373-GPOS-00156
APPL-15-004060
CAT II
10
Configure the macOS system with sudoers timestamp type with the following command:
/usr/bin/find /etc/sudoers* -type f -exec sed -i '' '/timestamp_type/d; /!tty_tickets/d' '{}' \;
Verify the macOS system is configured with sudoers timestamp type with the following command:
/usr/bin/sudo /usr/bin/sudo -V | /usr/bin/awk -F": " '/Type of authentication timestamp record/{print $2}'
If the result is not "tty", this is a finding.
V-274880
False
APPL-15-004060
Verify the macOS system is configured with sudoers timestamp type with the following command:
/usr/bin/sudo /usr/bin/sudo -V | /usr/bin/awk -F": " '/Type of authentication timestamp record/{print $2}'
If the result is not "tty", this is a finding.
M
5661