Ubuntu 22.04 LTS must have the "libpam-pwquality" package installed.
Overview
| Finding ID | Version | Rule ID | IA Controls | Severity |
| V-260478 | UBTU-22-215010 | SV-260478r991587_rule | CCI-000366 | medium |
| Description | ||||
| 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. | ||||
| STIG | Date | |||
| Canonical Ubuntu 22.04 LTS Security Technical Implementation Guide | 2025-05-16 | |||
Details
Check Text (C-260478r991587_chk)
Verify Ubuntu 22.04 LTS has the "libpam-pwquality" package installed with the following command:
$ dpkg -l | grep libpam-pwquality
ii libpam-pwquality:amd64 1.4.4-1build2 amd64 PAM module to check password strength
If "libpam-pwquality" is not installed, this is a finding.
Fix Text (F-64115r953246_fix)
Install the "pam_pwquality" package by using the following command:
$ sudo apt-get install libpam-pwquality