SV-252966r991589_rule
V-252966
SRG-OS-000480-GPOS-00227
TOSS-04-020270
CAT I
10
Edit the following line in "etc/ssh/sshd_config" to prevent logons with empty passwords.
PermitEmptyPasswords no
The SSH daemon must be restarted for the changes to take effect. To restart the SSH daemon, run the following command:
$ sudo systemctl restart sshd.service
To verify that null passwords cannot be used, run the following command:
$ sudo grep -i permitemptypasswords /etc/ssh/sshd_config
PermitEmptyPasswords no
If "PermitEmptyPasswords" is set to "yes", this is a finding.
V-252966
False
TOSS-04-020270
To verify that null passwords cannot be used, run the following command:
$ sudo grep -i permitemptypasswords /etc/ssh/sshd_config
PermitEmptyPasswords no
If "PermitEmptyPasswords" is set to "yes", this is a finding.
M
5469