5.2.11 Ensure SSH PermitEmptyPasswords is disabled

Information

The PermitEmptyPasswords parameter specifies if the SSH server allows login to accounts with empty password strings.

Rationale:

Disallowing remote shell access to accounts that have an empty password reduces the probability of unauthorized access to the system

Solution

Edit the /etc/ssh/sshd_config file to set the parameter as follows:

PermitEmptyPasswords no

Restart sshd :

systemctl restart sshd

See Also

https://workbench.cisecurity.org/files/2449

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-5, CSCv7|16.3

Plugin: Unix

Control ID: 023eef8182e359b898dacfb1ca8813db9bd4092f3c805193a38638f82027b487