The operating system must not allow logins for users with blank passwords.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| high | V-216365 | SRG-OS-000480 | SOL-11.1-040480 | SV-216365r959010_rule | 2026-02-19 | 3 |
Description
If the password field is blank and the system does not enforce a policy that passwords are required, it could allow login without proper authentication of a user.
ℹ️ Check
Determine if the system is enforcing a policy that passwords are required.
# grep ^PASSREQ /etc/default/login
If the command does not return:
PASSREQ=YES
this is a finding.
✔️ Fix
The root role is required.
Modify the /etc/default/login file.
# pfedit /etc/default/login
Insert the line:
PASSREQ=YES