SV-268535r1034545_rule
V-268535
SRG-OS-000071-GPOS-00039
APPL-15-003007
CAT II
10
Configure the macOS system to require that passwords contain a minimum of one numeric character by installing the "com.apple.mobiledevice.passwordpolicy" configuration profile.
Verify the macOS system is configured to require that passwords contain a minimum of one numeric character with the following command:
/usr/bin/pwpolicy -getaccountpolicies 2> /dev/null | /usr/bin/tail +2 | /usr/bin/xmllint --xpath '//dict/key[text()="policyIdentifier"]/following-sibling::*[1]/text()' - | /usr/bin/grep "requireAlphanumeric" -c
If the result is not "1", this is a finding.
V-268535
False
APPL-15-003007
Verify the macOS system is configured to require that passwords contain a minimum of one numeric character with the following command:
/usr/bin/pwpolicy -getaccountpolicies 2> /dev/null | /usr/bin/tail +2 | /usr/bin/xmllint --xpath '//dict/key[text()="policyIdentifier"]/following-sibling::*[1]/text()' - | /usr/bin/grep "requireAlphanumeric" -c
If the result is not "1", this is a finding.
M
5661