STIGUI
V-248714CAT I — High severitySV-248714r991589_rule

OL 8 must not allow accounts configured with blank or null passwords.

Rule version OL08-00-020330 · STIG v2 · 2026-08-24

Discussion

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.

Check

To verify that null passwords cannot be used, run the following command:

$ sudo /usr/sbin/sshd -dd 2>&1 | awk '/filename/ {print $4}' | tr -d '\r' | tr '\n' ' ' | xargs sudo grep -iH '^\s*permitemptypasswords'

PermitEmptyPasswords no

If "PermitEmptyPasswords" is set to "yes", this is a finding.

If conflicting results are returned, this is a finding.

Fix

Edit the following line in "etc/ssh/sshd_config" to prevent logons with empty passwords.

PermitEmptyPasswords no

The SSH daemon must be restarted for the changes to take effect. To restart the SSH daemon, run the following command:

$ sudo systemctl restart sshd.service

Identifiers

Group ID
V-248714
Group title
SRG-OS-000480-GPOS-00227
Rule ID
SV-248714r991589_rule
Check ID
C-52148r951575_chk
Fix ID
F-52102r779707_fix