SV-270727r1066670_rule
V-270727
SRG-OS-000070-GPOS-00038
UBTU-24-400270
CAT II
10
Configure Ubuntu 24.04 LTS to enforce password complexity by requiring that at least one lowercase character be used.
Add or update the "/etc/security/pwquality.conf" file to contain the "lcredit" parameter:
lcredit=-1
Verify Ubuntu 24.04 LTS enforces password complexity by requiring that at least one lowercase character be used with the following command:
$ grep -i "lcredit" /etc/security/pwquality.conf
lcredit=-1
If the "lcredit" parameter is greater than "-1", is commented out, or is missing, this is a finding.
V-270727
False
UBTU-24-400270
Verify Ubuntu 24.04 LTS enforces password complexity by requiring that at least one lowercase character be used with the following command:
$ grep -i "lcredit" /etc/security/pwquality.conf
lcredit=-1
If the "lcredit" parameter is greater than "-1", is commented out, or is missing, this is a finding.
M
5673