SV-235032r622137_rule
V-235032
SRG-OS-000480-GPOS-00229
SLES-15-040440
CAT I
10
Configure the SUSE operating system disables unattended or automatic logon via SSH.
Add or edit the following lines in the "/etc/ssh/sshd_config" file:
PermitEmptyPasswords no
PermitUserEnvironment no
Verify the SUSE operating system disables unattended or automatic logon via SSH.
Check that unattended or automatic logon via SSH is disabled with the following command:
> sudo egrep '(Permit(.*?)(Passwords|Environment))' /etc/ssh/sshd_config
PermitEmptyPasswords no
PermitUserEnvironment no
If "PermitEmptyPasswords" or "PermitUserEnvironment" keywords are not set to "no", are missing completely, or are commented out, this is a finding.
V-235032
False
SLES-15-040440
Verify the SUSE operating system disables unattended or automatic logon via SSH.
Check that unattended or automatic logon via SSH is disabled with the following command:
> sudo egrep '(Permit(.*?)(Passwords|Environment))' /etc/ssh/sshd_config
PermitEmptyPasswords no
PermitUserEnvironment no
If "PermitEmptyPasswords" or "PermitUserEnvironment" keywords are not set to "no", are missing completely, or are commented out, this is a finding.
M
5274