RHEL-09-611040 - RHEL 9 must ensure the password complexity module is enabled in the password-auth file.

Information

Enabling PAM password complexity permits enforcement of strong passwords and consequently makes the system less prone to dictionary attacks.

Satisfies: SRG-OS-000069-GPOS-00037, SRG-OS-000070-GPOS-00038, SRG-OS-000480-GPOS-00227

Solution

Configure RHEL 9 to use 'pwquality' to enforce password complexity rules.

Add the following line to the '/etc/pam.d/password-auth' file (or modify the line to have the required value):

password required pam_pwquality.so

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_RHEL_9_V2R1_STIG.zip

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-5(1)(a), CAT|II, CCI|CCI-004066, Rule-ID|SV-258097r997084_rule, STIG-ID|RHEL-09-611040, Vuln-ID|V-258097

Plugin: Unix

Control ID: bc0f5e26647d07c049e7aa3383a74151f75d63268d2e5cb6d90bbec5baee9d14