SV-260563r1015015_rule
V-260563
SRG-OS-000266-GPOS-00101
UBTU-22-611025
CAT II
10
Configure Ubuntu 22.04 LTS to enforce password complexity by requiring that at least one special character be used.
Add or modify the following line in the "/etc/security/pwquality.conf" file:
ocredit = -1
Verify Ubuntu 22.04 LTS enforces password complexity by requiring that at least one special character be used by using the following command:
$ grep -i ocredit /etc/security/pwquality.conf
ocredit = -1
If "ocredit" is greater than "-1", is commented out, or is missing, this is a finding.
V-260563
False
UBTU-22-611025
Verify Ubuntu 22.04 LTS enforces password complexity by requiring that at least one special character be used by using the following command:
$ grep -i ocredit /etc/security/pwquality.conf
ocredit = -1
If "ocredit" is greater than "-1", is commented out, or is missing, this is a finding.
M
5594