UCF STIG Viewer Logo

The system must require passwords contain at least one numeric character.


Overview

Finding ID Version Rule ID IA Controls Severity
V-11972 GEN000620 SV-37281r1_rule IAIA-1 IAIA-2 Medium
Description
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.
STIG Date
Red Hat Enterprise Linux 5 Security Technical Implementation Guide 2017-03-01

Details

Check Text ( C-35972r1_chk )
Check the dcredit setting.

Procedure:
Check the password dcredit option
# grep pam_cracklib.so /etc/pam.d/system-auth

Confirm the dcredit option is set to -1 as in the example:

password required pam_cracklib.so dcredit=-1

There may be other options on the line. If no such line is found, or the dcredit option is not -1 this is a finding.
Fix Text (F-31227r1_fix)
Edit "/etc/pam.d/system-auth" to include the line:

password required pam_cracklib.so dcredit=-1

prior to the "password include system-auth-ac" line.