Unattended or automatic login via the GUI must not be allowed.

From Canonical Ubuntu 16.04 Security Technical Implementation Guide

Part of SRG-OS-000480-GPOS-00229

Associated with: CCI-000366

SV-90175r3_rule Unattended or automatic login via the GUI must not be allowed.

Vulnerability discussion

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

Check content

Verify that unattended or automatic login via the GUI is disabled. Check that unattended or automatic login is disabled with the following command: # sudo grep -i autologin-user /etc/lightdm/lightdm.conf autologin-user= autologin-user-timeout=0 If the "autologin-user" parameter is blank, or is commented out, this is a finding. If the "autologin-user-timeout" parameter is not 0, or is commented out, this is a finding.

Fix text

Configure the GUI to not allow unattended or automatic login to the system. Comment the following lines in "/etc/lightdm/lightdm.conf" file: #autologin-user= #autologin-user-timeout=0

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