STIGQter STIGQter: STIG Summary: Canonical Ubuntu 22.04 LTS Security Technical Implementation Guide Version: 2 Release: 9 Benchmark Date: 01 Jul 2026:

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

DISA Rule

SV-260563r1015015_rule

Vulnerability Number

V-260563

Group Title

SRG-OS-000266-GPOS-00101

Rule Version

UBTU-22-611025

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

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

Check Contents

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.

Vulnerability Number

V-260563

Documentable

False

Rule Version

UBTU-22-611025

Severity Override Guidance

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.

Check Content Reference

M

Target Key

5594