Skip to content

The Red Hat Enterprise Linux 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-251702r809220_rule
Version
RHEL-07-010291
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]