STIGQter STIGQter: STIG Summary: Canonical Ubuntu 20.04 LTS Security Technical Implementation Guide Version: 1 Release: 1 Benchmark Date: 10 Mar 2021:

The Ubuntu operating system must enforce password complexity by requiring that at least one special character be used.

DISA Rule

SV-238226r653853_rule

Vulnerability Number

V-238226

Group Title

SRG-OS-000266-GPOS-00101

Rule Version

UBTU-20-010055

Severity

CAT III

CCI(s)

Weight

10

Fix Recommendation

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

Check Contents

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.

Vulnerability Number

V-238226

Documentable

False

Rule Version

UBTU-20-010055

Severity Override Guidance

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.

Check Content Reference

M

Target Key

5318

Comments