SV-270704r1066601_rule
V-270704
SRG-OS-000710-GPOS-00160
UBTU-24-300014
CAT II
10
Configure Ubuntu 24.04 LTS to prevent the use of dictionary words for passwords.
Add or update the following line in the "/etc/security/pwquality.conf" file to include the "dictcheck=1" parameter:
dictcheck=1
Verify Ubuntu 24.04 LTS uses the "cracklib" library to prevent the use of dictionary words with the following command:
$ grep dictcheck /etc/security/pwquality.conf
dictcheck=1
If the "dictcheck" parameter is not set to "1" or is commented out, this is a finding.
V-270704
False
UBTU-24-300014
Verify Ubuntu 24.04 LTS uses the "cracklib" library to prevent the use of dictionary words with the following command:
$ grep dictcheck /etc/security/pwquality.conf
dictcheck=1
If the "dictcheck" parameter is not set to "1" or is commented out, this is a finding.
M
5673