Login must not be permitted with empty/null passwords for SSH.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
---|---|---|---|---|---|---|
high | V-216118 | SRG-OS-000480 | SOL-11.1-040370 | SV-216118r959010_rule | 2024-11-25 | 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 |