Skip to content

TOSS must not allow blank or null passwords in the system-auth file.

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-252940r991589_rule
Version
TOSS-04-010380
Severity
High
References
Updated

Remediation Templates

A Manual Procedure

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

Note: Manual changes to the listed file may be overwritten by the "authselect" program.