SV-225214r610901_rule
V-225214
SRG-OS-000480-GPOS-00227
AOSX-15-003051
CAT II
10
Make a backup of the PAM SU settings using the following:
cp /etc/pam.d/su /etc/pam.d/su_backup_`date "+%Y-%m-%d_%H:%M"`
Replace the contents of "/etc/pam.d/su" with the following:
# su: auth account password session
auth sufficient pam_smartcard.so
auth required pam_rootok.so
auth required pam_group.so no_warn group=admin,wheel ruser root_only fail_safe
account required pam_permit.so
account required pam_opendirectory.so no_check_shell
password required pam_opendirectory.so
session required pam_launchd.so
For systems that are not utilizing smart card authentication, this is Not Applicable.
To verify that the "su" command has been configured to require smart card authentication, run the following command:
cat /etc/pam.d/su | grep -i pam_smartcard.so
If the text that returns does not include the line, "auth sufficient pam_smartcard.so" at the TOP of the listing, this is a finding.
V-225214
False
AOSX-15-003051
For systems that are not utilizing smart card authentication, this is Not Applicable.
To verify that the "su" command has been configured to require smart card authentication, run the following command:
cat /etc/pam.d/su | grep -i pam_smartcard.so
If the text that returns does not include the line, "auth sufficient pam_smartcard.so" at the TOP of the listing, this is a finding.
M
4212