Common Controls Hub
The Photon operating system must configure Secure Shell (SSH) to disallow authentication with an empty password.
Blank passwords are one of the first things an attacker checks for when probing a system. Even if the user somehow has a blank password on the OS, SSH must not allow that user to log in.
VMware vSphere 8.0 vCenter Appliance Photon OS 4.0 Security Technical Implementation Guide
Check Text ( C-62610r933669_chk )
At the command line, run the following command to verify the running configuration of sshd:
# sshd -T|&grep -i PermitEmptyPasswords
If "PermitEmptyPasswords" is not set to "no", this is a finding.
Fix Text (F-62519r933670_fix)
Navigate to and open:
Ensure the "PermitEmptyPasswords" line is uncommented and set to the following:
At the command line, run the following command:
# systemctl restart sshd.service