The Ubuntu operating system 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 should never be used in operational environments.
- ID
- SV-251503r991589_rule
- Version
- UBTU-20-010462
- Severity
- High
- References
- Updated
Remediation Templates
A Manual Procedure
Configure all accounts on the system to have a password or lock the account with the following commands:
Perform a password reset:
$ sudo passwd [username]
Lock an account:
$ sudo passwd -l [username]