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_V2R2_STIG.zip

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

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

Plugin: Unix

Control ID: deae617ca436609eb2cfaa574148a6a6cfc824618b296d7476b8ba15aa7aae25