Login must not be permitted with empty/null passwords for SSH.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| high | V-216355 | SRG-OS-000480 | SOL-11.1-040370 | SV-216355r959010_rule | 2026-02-19 | 3 |
Description
Permitting login without a password is inherently risky.
ℹ️ Check
Determine if empty/null passwords are allowed for the SSH service.
# grep "^PermitEmptyPasswords" /etc/ssh/sshd_config
If the output of this command is not:
PermitEmptyPasswords no
this is a finding.
✔️ Fix
The root role is required.
Modify the sshd_config file
# pfedit /etc/ssh/sshd_config
Locate the line containing:
PermitEmptyPasswords
Change it to:
PermitEmptyPasswords no
Restart the SSH service.
# svcadm restart svc:/network/ssh