UBTU-20-010070 - The Ubuntu operating system must 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 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.

Satisfies: SRG-OS-000077-GPOS-00045, SRG-OS-000073-GPOS-00041

Solution

Configure the Ubuntu operating system to prevent passwords from being reused for a minimum of five generations.

Add or modify the 'remember' parameter value to the following line in '/etc/pam.d/common-password' file:

password [success=1 default=ignore] pam_unix.so obsecure sha512 shadow remember=5 rounds=5000

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_CAN_Ubuntu_20-04_LTS_V1R1_STIG.zip