STIGQter STIGQter: STIG Summary: Canonical Ubuntu 24.04 LTS Security Technical Implementation Guide Version: 1 Release: 6 Benchmark Date: 01 Jul 2026:

Ubuntu 24.04 LTS must enforce password complexity by requiring that at least one special character be used.

DISA Rule

SV-270733r1066688_rule

Vulnerability Number

V-270733

Group Title

SRG-OS-000266-GPOS-00101

Rule Version

UBTU-24-400330

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Configure Ubuntu 24.04 LTS 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", is commented out, or is missing, this is a finding.

Vulnerability Number

V-270733

Documentable

False

Rule Version

UBTU-24-400330

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", is commented out, or is missing, this is a finding.

Check Content Reference

M

Target Key

5673