STIGhubSTIGhub
STIGsRMF ControlsCompare
STIGhub— A free STIG search and compliance tool·STIGs updated 3 days ago
Powered by Pylon·Privacy·Terms·© 2026 Beacon Cloud Solutions, Inc.
← Back to Canonical Ubuntu 22.04 LTS Security Technical Implementation Guide

V-260570

CAT I (High)

Ubuntu 22.04 LTS must not allow accounts configured with blank or null passwords.

Rule ID

SV-260570r1082233_rule

STIG

Canonical Ubuntu 22.04 LTS Security Technical Implementation Guide

Version

V2R8

CCIs

CCI-000366

Discussion

If an account has an empty password, anyone could log on and run commands with the privileges of that account. Accounts with empty passwords must never be used in operational environments.

Check Content

Verify that null passwords cannot be used. Run the following command:  
 
     $ grep nullok /etc/pam.d/common-auth /etc/pam.d/common-password
 
If this produces any output, this is a finding.

Fix Text

Remove any instances of the "nullok" option in "/etc/pam.d/common-password" to prevent logons with empty passwords.

Remove any instances of the "nullok" option in "/etc/pam.d/common-auth" and "/etc/pam.d/common-password".