SV-209627r610285_rule
V-209627
SRG-OS-000480-GPOS-00227
AOSX-14-003051
CAT II
10
Make a backup of the PAM SU settings using the following command:
cp /etc/pam.d/su /etc/pam.d/su_backup_`date "+%Y-%m-%d_%H:%M"`
Replace the contents of "/etc/pam.d/login" with the following:
# su: auth account session
auth sufficient pam_smartcard.so
#auth required pam_opendirectory.so
auth required pam_deny.so
account required pam_permit.so
password required pam_deny.so
session required pam_permit.so
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-209627
False
AOSX-14-003051
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
2930