RHEL-08-020221 - RHEL 8 must be configured in the system-auth file to prohibit password reuse for a minimum of five generations.

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

Password complexity, or strength, is a measure of the effectiveness of a password in resisting attempts at guessing and brute-force attacks. If the information system or application allows the user to reuse their password consecutively when that password has exceeded its defined lifetime, the end result is a password that is not changed per policy requirements.

RHEL 8 uses 'pwhistory' consecutively as a mechanism to prohibit password reuse. This is set in both:
/etc/pam.d/password-auth
/etc/pam.d/system-auth.

Note that manual changes to the listed files may be overwritten by the 'authselect' program.

Solution

Configure the operating system in the system-auth file to prohibit password reuse for a minimum of five generations.

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

password required pam_pwhistory.so use_authtok remember=5 retry=3

See Also

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

Item Details

References: CAT|II, CCI|CCI-000200, Rule-ID|SV-251717r810415_rule, STIG-ID|RHEL-08-020221, Vuln-ID|V-251717

Plugin: Unix

Control ID: 3992aa20198a3ecf493010fce7624fdf4cf9b0cfe99d8fbfaa5467c7a44754e0