OL08-00-020220 - OL 8 passwords must be prohibited from reuse for a minimum of five generations.

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.

OL 8 uses 'pwquality' consecutively as a mechanism to enforce password complexity. This is set in both of the following:
/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 OL 8 to prohibit password reuse for a minimum of five generations.

Add the following line in '/etc/pam.d/system-auth' and '/etc/pam.d/password-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_Oracle_Linux_8_V1R1_STIG.zip

Item Details

References: CAT|III, CCI|CCI-000200, Rule-ID|SV-248698r779660_rule, STIG-ID|OL08-00-020220, Vuln-ID|V-248698

Plugin: Unix

Control ID: 561dace63803245005d2384545d2630b6199b619180afe04037c15d0340385c2