5.3.1 Ensure password creation requirements are configured - password-auth dcredit

Information

Strong passwords protect systems from being hacked through brute force methods.

Solution

Edit the /etc/pam.d/password-auth and /etc/pam.d/system-auth files to include the appropriate options for pam_cracklib.so and to conform to site policy:
password requisite pam_cracklib.so try_first_pass retry=3 minlen=14 dcredit=-1 ucredit=-1 ocredit=-1 lcredit=-1

See Also

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

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-5(1), CSCv6|5.7, CSCv6|16.12

Plugin: Unix

Control ID: f5393cbade678b41bc845b2fbda71388473e04b04a8a3e1ef84b2f7285f14457