STIGUI
V-270661CAT II — Medium severitySV-270661r1067175_rule

Ubuntu 24.04 LTS must have the "libpam-pwquality" package installed.

Rule version UBTU-24-100600 · STIG v1 · 2026-09-09

Discussion

Use of a complex password helps to increase the time and resources required to compromise the password. Password complexity, or strength, is a measure of the effectiveness of a password in resisting attempts at guessing and brute-force attacks. "pwquality" enforces complex password construction configuration and has the ability to limit brute-force attacks on the system.

Check

Verify Ubuntu 24.04 LTS has the "libpam-pwquality" package installed with the following command:

$ dpkg -l | grep libpam-pwquality ii libpam-pwquality:amd64 1.4.5-3build1 amd64 PAM module to check password strength

If "libpam-pwquality" is not installed, this is a finding.

Fix

Install the "pam_pwquality" package by using the following command:

$ sudo apt install -y libpam-pwquality

Identifiers

Group ID
V-270661
Group title
SRG-OS-000480-GPOS-00225
Rule ID
SV-270661r1067175_rule
Check ID
C-74694r1067152_chk
Fix ID
F-74595r1067153_fix