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 consecutively reuse their password when that password has exceeded its defined lifetime, the end result is a password that is not changed as per policy requirements.
Solution
Navigate to and open:
/etc/pam.d/system-password
Add or update the pam_pwhistory.so module line as follows:
password required pam_pwhistory.so remember=5 retry=3 enforce_for_root use_authtok
Note: The line must be configured after pam_pwquality.so.
Note: On vCenter appliances, the equivalent file must be edited under "/etc/applmgmt/appliance", if one exists, for the changes to persist after a reboot.