UCF STIG Viewer Logo

Operating systems must enforce a 60-day maximum password lifetime restriction.


Overview

Finding ID Version Rule ID IA Controls Severity
V-58491 AOSX-09-002085 SV-72921r1_rule Medium
Description
Any password, no matter how complex, can eventually be cracked. Therefore, passwords need to be changed periodically. One method of minimizing this risk is to use complex passwords and periodically change them. If the operating system does not limit the lifetime of passwords and force users to change their passwords, there is the risk that the operating system passwords could be compromised.
STIG Date
Apple OS X 10.9 (Mavericks) Workstation Security Technical Implementation Guide 2017-01-05

Details

Check Text ( C-59341r1_chk )
To check if the password policy is configured to require that users change their password every 60 days, run the following command:

sudo pwpolicy getglobalpolicy | tr ' ' '\n' | grep maxMinutesUntilChangePassword

If the result is not 'maxMinutesUntilChangePassword=86400', and password policy is not controlled by a directory server, this is a finding.
Fix Text (F-63829r1_fix)
To set the password policy, run the following command:

sudo pwpolicy setglobalpolicy 'maxMinutesUntilChangePassword=86400'