Rule ID
SV-44867r1_rule
Version
V1R12
CCIs
To enforce the use of complex passwords, minimum numbers of characters of different classes are mandated. The use of complex passwords reduces the ability of attackers to successfully obtain valid passwords using guessing or exhaustive search techniques. Complexity requirements increase the password search space by requiring users to construct passwords from a larger character set than they may otherwise use.
Check /etc/pam.d/common-password for lcredit setting. Procedure: Check the password lcredit option # grep pam_cracklib.so /etc/pam.d/common-password Confirm the lcredit option is set to -1 as in the example: password required pam_cracklib.so lcredit=-1 There may be other options on the line. If no such line is found, or the lcredit is not -1 this is a finding.
Edit "/etc/pam.d/common-password" to include the line: password required pam_cracklib.so lcredit=-1