5.2.2 Ensure Password Minimum Length Is Configured

Information

A minimum password length is the fewest number of characters a password can contain to meet a system's requirements.

Ensure that a minimum of a 15-character password is part of the password policy on the computer.

Where the confidentiality of encrypted information in FileVault is more of a concern requiring a longer password or passphrase may be sufficient rather than imposing additional complexity requirements that may be self-defeating.

Rationale:

Information systems that are not protected with strong password schemes including passwords of minimum length provide a greater opportunity for attackers to crack the password and gain access to the system.

Impact:

Short passwords can be easily attacked.

Solution

Perform the following to enable passwords of a minimum length of 15:
Terminal Method:
Run the following command to set the password length to greater than or equal to 15:

$ sudo /usr/bin/pwpolicy -n /Local/Default -setglobalpolicy 'minChars=<value>=15>'

example:

$ sudo /usr/bin/pwpolicy -n /Local/Default -setglobalpolicy 'minChars=15'

Profile Method:

Create or edit a configuration profile with the PayLoadType of com.apple.mobiledevice.passwordpolicy

Add the key minLength

Set the key to <integer><value>=15></integer>

See Also

https://workbench.cisecurity.org/files/3569

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-5(1), CSCv7|4.4

Plugin: Unix

Control ID: 0c2e0c99b34876e6ceb2f9f3373dcc2637bea56198a47fd5e6729e0304b56b0a