UCF STIG Viewer Logo

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


Overview

Finding ID Version Rule ID IA Controls Severity
V-11973 GEN000640 SV-44876r1_rule 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
SUSE Linux Enterprise Server v11 for System z Security Technical Implementation Guide 2018-09-19

Details

Check Text ( C-42331r1_chk )
Check the ocredit setting.

Procedure:
Check the password ocredit option
# grep pam_cracklib.so /etc/pam.d/common-password-pc

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

password required pam_cracklib.so ocredit=-1

There may be other options on the line. If no such line is found, or the ocredit is not -1 this is a finding.
Fix Text (F-38309r1_fix)
Edit "/etc/pam.d/common-password-pc" to include the line:

password required pam_cracklib.so ocredit=-1