The system must require at least eight characters be changed between the old and new passwords during a password change.

From Oracle Linux 6 Security Technical Implementation Guide

Part of SRG-OS-000072

Associated with: CCI-000195

SV-65125r2_rule The system must require at least eight characters be changed between the old and new passwords during a password change.

Vulnerability discussion

Requiring a minimum number of different characters during password changes ensures that newly changed passwords should not resemble previously compromised ones. Note that passwords which are changed on compromised systems will still be compromised, however.

Check content

To check how many characters must differ during a password change, run the following command: $ grep pam_cracklib /etc/pam.d/system-auth The "difok" parameter will indicate how many characters must differ. The DoD requires eight characters differ during a password change. This would appear as "difok=8". If difok is not found or not set to the required value, this is a finding.

Fix text

The pam_cracklib module's "difok" parameter controls requirements for usage of different characters during a password change. Add "difok=[NUM]" after pam_cracklib.so to require differing characters when changing passwords, substituting [NUM] appropriately. The DoD requirement is 8.

Pro Tips

Lavender hyperlinks in small type off to the right (of CSS class id, if you view the page source) point to globally unique URIs for each document and item. Copy the link location and paste anywhere you need to talk unambiguously about these things.

You can obtain data about documents and items in other formats. Simply provide an HTTP header Accept: text/turtle or Accept: application/rdf+xml.

Powered by sagemincer