5.3.2.1 Ensure pam_cracklib module is enabled

Information

The pam_pwquality.so module (or pam_cracklib.so when configured via pam-config ) performs password quality checking. This module can be plugged into the password stack of a given service to provide strength-checking for passwords. The code was originally based on the pam_cracklib module and the module is backwards compatible with its options.

The action of this module is to prompt the user for a password and check its strength against a system dictionary and a set of rules for identifying poor choices.

On SUSE Linux Enterprise, pam-config uses pam_cracklib.so as the password quality module. When pwquality configuration files in /etc/security/pwquality.conf or /etc/security/pwquality.conf.d/ are used instead, pam_pwquality.so is loaded directly.

Use of unique, complex passwords helps to increase the time and resources required to compromise the password.

Solution

IF using pam-config to manage PAM:

Run the following command to enable the pam_cracklib module (SUSE's password quality module):

# pam-config -a --cracklib

Impact:

Without a password quality module enabled, password strength checks will not be enforced. Users will be able to set weak passwords that are easily guessed or cracked.

See Also

https://workbench.cisecurity.org/benchmarks/28370

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-5(1), CSCv7|4.4

Plugin: Unix

Control ID: 96c68996834e3a1a607ad85c89b1279ed3af432b6981cd6b6ce20f29489b65ff