SV-209624r610285_rule
V-209624
SRG-OS-000125-GPOS-00065
AOSX-14-003024
CAT II
10
For non-directory bound systems, this setting is enforced using the "Smart Card Policy" configuration profile.
Note: Before applying the "Smart Card Policy", the supplemental guidance provided with the STIG should be consulted to ensure continued access to the operating system.
To ensure that passcode based logins are disabled in sshd, run the following command:
/usr/bin/sudo /usr/bin/sed -i.bak 's/^[\#]*ChallengeResponseAuthentication.*/ChallengeResponseAuthentication no/' /etc/ssh/sshd_config
/usr/bin/sudo /usr/bin/sed -i.bak 's/^[\#]*PasswordAuthentication.*/PasswordAuthentication no/' /etc/ssh/sshd_config
If the system is connected to a directory server, this is Not Applicable.
The following command ensures that a mandatory smart card policy is enforced:
# /usr/sbin/system_profiler SPConfigurationProfileDataType | /usr/bin/grep enforceSmartCard
enforceSmartCard=1
If the command returns null, or any other value, this is a finding.
The following command ensures that passwords are disabled in the SSHD configuration file:
# grep -e ^[\#]*PasswordAuthentication.* -e ^[\#]*ChallengeResponseAuthentication.* /etc/ssh/sshd_config
If this command returns null, or anything other than exactly this text, with no leading hash(#), this is a finding:
"PasswordAuthentication no
ChallengeResponseAuthentication no"
V-209624
False
AOSX-14-003024
If the system is connected to a directory server, this is Not Applicable.
The following command ensures that a mandatory smart card policy is enforced:
# /usr/sbin/system_profiler SPConfigurationProfileDataType | /usr/bin/grep enforceSmartCard
enforceSmartCard=1
If the command returns null, or any other value, this is a finding.
The following command ensures that passwords are disabled in the SSHD configuration file:
# grep -e ^[\#]*PasswordAuthentication.* -e ^[\#]*ChallengeResponseAuthentication.* /etc/ssh/sshd_config
If this command returns null, or anything other than exactly this text, with no leading hash(#), this is a finding:
"PasswordAuthentication no
ChallengeResponseAuthentication no"
M
2930