STIGUI
V-238227CAT II — Medium severitySV-238227r991587_rule

The Ubuntu operating system must prevent the use of dictionary words for passwords.

Rule version UBTU-20-010056 · STIG v2 · 2025-05-16

Discussion

If the Ubuntu operating system 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.

Check

Verify the Ubuntu operating system uses the "cracklib" library to prevent the use of dictionary words with the following command:

$ grep dictcheck /etc/security/pwquality.conf 

dictcheck=1

If the "dictcheck" parameter is not set to "1" or is commented out, this is a finding.

Fix

Configure the Ubuntu operating system to prevent the use of dictionary words for passwords.

Add or update the following line in the "/etc/security/pwquality.conf" file to include the "dictcheck=1" parameter:

dictcheck=1

Identifiers

Group ID
V-238227
Group title
SRG-OS-000480-GPOS-00225
Rule ID
SV-238227r991587_rule
Check ID
C-41437r653854_chk
Fix ID
F-41396r653855_fix