1.105 SOL-11.1-040370

Information

Login must not be permitted with empty/null passwords for SSH.

GROUP ID: V-216355
RULE ID: SV-216355r959010

Permitting login without a password is inherently risky.

Solution

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

See Also

https://workbench.cisecurity.org/benchmarks/23765