STIGUI
V-258870CAT I — High severitySV-258870r991591_rule

The Photon operating system must configure Secure Shell (SSH) to disallow authentication with an empty password.

Rule version PHTN-40-000207 · STIG v2 · 2026-08-26

Discussion

Blank passwords are one of the first things an attacker checks for when probing a system. Even if the user somehow has a blank password on the OS, SSH must not allow that user to log in.

Check

At the command line, run the following command to verify the running configuration of sshd:

# sshd -T|&grep -i PermitEmptyPasswords

Example result:

permitemptypasswords no

If "PermitEmptyPasswords" is not set to "no", this is a finding.

Fix

Navigate to and open:

/etc/ssh/sshd_config

Ensure the "PermitEmptyPasswords" line is uncommented and set to the following:

PermitEmptyPasswords no

At the command line, run the following command:

# systemctl restart sshd.service

Identifiers

Group ID
V-258870
Group title
SRG-OS-000480-GPOS-00229
Rule ID
SV-258870r991591_rule
Check ID
C-62610r933669_chk
Fix ID
F-62519r933670_fix