The SUSE operating system must not allow unattended or automatic logon via SSH.

From SLES 12 Security Technical Implementation Guide

Part of SRG-OS-000480-GPOS-00229

Associated with: CCI-000366

SV-92147r1_rule The SUSE operating system must not allow unattended or automatic logon via SSH.

Vulnerability discussion

Failure to restrict system access via SSH to authenticated users negatively impacts SUSE operating system security.

Check content

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.

Fix text

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

Pro Tips

Lavender hyperlinks in small type off to the right (of CSS class id, if you view the page source) point to globally unique URIs for each document and item. Copy the link location and paste anywhere you need to talk unambiguously about these things.

You can obtain data about documents and items in other formats. Simply provide an HTTP header Accept: text/turtle or Accept: application/rdf+xml.

Powered by sagemincer