SV-238226r653853_rule
V-238226
SRG-OS-000266-GPOS-00101
UBTU-20-010055
CAT III
10
Configure the Ubuntu operating system to enforce password complexity by requiring that at least one special character be used.
Add or update the following line in the "/etc/security/pwquality.conf" file to include the "ocredit=-1" parameter:
ocredit=-1
Determine if the field "ocredit" is set in the "/etc/security/pwquality.conf" file with the following command:
$ grep -i "ocredit" /etc/security/pwquality.conf
ocredit=-1
If the "ocredit" parameter is greater than "-1" or is commented out, this is a finding.
V-238226
False
UBTU-20-010055
Determine if the field "ocredit" is set in the "/etc/security/pwquality.conf" file with the following command:
$ grep -i "ocredit" /etc/security/pwquality.conf
ocredit=-1
If the "ocredit" parameter is greater than "-1" or is commented out, this is a finding.
M
5318