Ubuntu 22.04 LTS must prevent the use of dictionary words for passwords.
Overview
| Finding ID | Version | Rule ID | IA Controls | Severity |
| V-260564 | UBTU-22-611030 | SV-260564r991587_rule | CCI-000366 | medium |
| Description | ||||
| If Ubuntu 22.04 LTS allows the user to select passwords based on dictionary words, then this increases the chances of password compromise by increasing the opportunity for successful guesses and brute-force attacks. | ||||
| STIG | Date | |||
| Canonical Ubuntu 22.04 LTS Security Technical Implementation Guide | 2025-05-16 | |||
Details
Check Text (C-260564r991587_chk)
Verify Ubuntu 22.04 LTS prevents the use of dictionary words for passwords by using the following command:
$ grep -i dictcheck /etc/security/pwquality.conf
dictcheck = 1
If "dictcheck" is not set to "1", is commented out, or is missing, this is a finding.
Fix Text (F-64201r953504_fix)
Configure Ubuntu 22.04 LTS to prevent the use of dictionary words for passwords.
Add or modify the following line in the "/etc/security/pwquality.conf" file:
dictcheck = 1