ALMA-09-035880 - AlmaLinux OS 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.

Solution

Configure AlmaLinux OS 9 to use "pwquality" to enforce password complexity rules.

Add the following line to the "/etc/pam.d/system-auth" and "/etc/pam.d/password-auth" files (or modify the line to have the required value):

password required pam_pwquality.so retry=3

See Also

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

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-5(1)(a), CAT|II, CCI|CCI-004066, Rule-ID|SV-269386r1050269_rule, STIG-ID|ALMA-09-035880, Vuln-ID|V-269386

Plugin: Unix

Control ID: a94a823556132ad0390ac7c9d92d0093ba8b72512fcfc4d03c352d01dc7e7ae9