Skip to content

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

An XCCDF Rule

Description

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.

ID
SV-260571r991589_rule
Version
UBTU-22-611065
Severity
High
References
Updated

Remediation Templates

A Manual Procedure

Configure all accounts on the system to have a password or lock the account by using the following commands: 
 
Set the account password: 
 
     $ sudo passwd <username>