The SUSE operating system must not allow unattended or automatic logon via the graphical user interface.

STIG ID: SLES-12-010380  |  SRG: SRG-OS-000480-GPOS-00229 | Severity: high |  CCI: CCI-000366

Vulnerability Discussion

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

Check

Note: If a graphical user interface is not installed, this requirement is Not Applicable.

Verify the SUSE operating system does not allow unattended or automatic logon via a graphical user interface.

Check that unattended or automatic login is disabled with the following commands:

> grep -i ^DISPLAYMANAGER_AUTOLOGIN /etc/sysconfig/displaymanager

DISPLAYMANAGER_AUTOLOGIN=""

> grep -i ^DISPLAYMANAGER_PASSWORD_LESS_LOGIN /etc/sysconfig/displaymanager

DISPLAYMANAGER_PASSWORD_LESS_LOGIN="no"

If the "DISPLAYMANAGER_AUTOLOGIN" parameter includes a username or the
"DISPLAYMANAGER_PASSWORD_LESS_LOGIN" parameter is not set to "no", this is a
finding.

Fix

Note: If a graphical user interface is not installed, this requirement is Not Applicable.

Configure the SUSE operating system graphical user interface to not allow unattended or automatic logon to the system.

Add or edit the following lines in the "/etc/sysconfig/displaymanager" configuration file:

DISPLAYMANAGER_AUTOLOGIN=""
DISPLAYMANAGER_PASSWORD_LESS_LOGIN="no"