SV-268537r1034551_rule
V-268537
SRG-OS-000078-GPOS-00046
APPL-15-003010
CAT II
10
Configure the macOS system to enforce a 14-character password length by installing the "com.apple.mobiledevice.passwordpolicy" configuration profile.
Verify the macOS system is configured to enforce a minimum 14-character password length with the following command:
/usr/bin/pwpolicy -getaccountpolicies 2> /dev/null | /usr/bin/tail +2 | /usr/bin/xmllint --xpath 'boolean(//*[contains(text(),"policyAttributePassword matches '\''.{14,}'\''")])' -
If the result is not "true", this is a finding.
V-268537
False
APPL-15-003010
Verify the macOS system is configured to enforce a minimum 14-character password length with the following command:
/usr/bin/pwpolicy -getaccountpolicies 2> /dev/null | /usr/bin/tail +2 | /usr/bin/xmllint --xpath 'boolean(//*[contains(text(),"policyAttributePassword matches '\''.{14,}'\''")])' -
If the result is not "true", this is a finding.
M
5661