OSX00050 - Account lockout threshold

Information

The account lockout feature, when enabled, prevents brute-force password attacks on the system. The higher this value is, the less effective the account lockout feature will be in protecting the local system. The number of bad logon attempts should be reasonably small to minimize the possibility of a successful password attack while allowing for honest errors made during a normal user logon.

Solution

Open a terminal session and use the following command to set the value for Account lockout threshold- sudo pwpolicy -n -setglobalpolicy 'maxFailedLoginAttemps=3'.

Note- For non-managed system, use the command- pwpolicy -n /Local/Default -setglobalpolicy 'maxFailedLoginAttemps=3'.

See Also

http://iase.disa.mil/stigs/os/mac/u_mac_osx10.5_v1r2_stig_20110729.zip

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-7, CAT|II, CSCv6|16.7, Rule-ID|SV-31288r1_rule, STIG-ID|OSX00050, Vuln-ID|V-25241

Plugin: Unix

Control ID: eb79f6ec4825ee35142e1ba3d0e27a60c325ee06ff12507879e43745501c9a63