SV-268536r1038967_rule
V-268536
SRG-OS-000076-GPOS-00044
APPL-15-003008
CAT II
10
Configure the macOS system to restrict maximum password lifetime to 60 days by installing the "com.apple.mobiledevice.passwordpolicy" configuration profile.
Verify the macOS system is configured to restrict maximum password lifetime to 60 days with the following command:
/usr/bin/pwpolicy -getaccountpolicies 2> /dev/null | /usr/bin/tail +2 | /usr/bin/xmllint --xpath '//dict/key[text()="policyAttributeExpiresEveryNDays"]/following-sibling::*[1]/text()' -
If the result is not "60" or less, this is a finding.
V-268536
False
APPL-15-003008
Verify the macOS system is configured to restrict maximum password lifetime to 60 days with the following command:
/usr/bin/pwpolicy -getaccountpolicies 2> /dev/null | /usr/bin/tail +2 | /usr/bin/xmllint --xpath '//dict/key[text()="policyAttributeExpiresEveryNDays"]/following-sibling::*[1]/text()' -
If the result is not "60" or less, this is a finding.
M
5661