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