SV-270729r1066676_rule
V-270729
SRG-OS-000072-GPOS-00040
UBTU-24-400290
CAT II
10
Configure Ubuntu 24.04 LTS to require the change of at least eight characters when passwords are changed.
Add or update the "/etc/security/pwquality.conf" file to include the "difok=8" parameter:
difok=8
Verify Ubuntu 24.04 LTS requires the change of at least eight characters when passwords are changed with the following command:
$ grep -i "difok" /etc/security/pwquality.conf
difok=8
If the "difok" parameter is less than "8" or is commented out, this is a finding.
V-270729
False
UBTU-24-400290
Verify Ubuntu 24.04 LTS requires the change of at least eight characters when passwords are changed with the following command:
$ grep -i "difok" /etc/security/pwquality.conf
difok=8
If the "difok" parameter is less than "8" or is commented out, this is a finding.
M
5673