SV-219210r610963_rule
V-219210
SRG-OS-000266-GPOS-00101
UBTU-18-010145
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-219210
False
UBTU-18-010145
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
4055