{"description": "The GNOME Display Manager (GDM) can allow users to automatically login without\nuser interaction or credentials. User should always be required to authenticate themselves\nto the system that they are authorized to use. To disable user ability to automatically\nlogin to the system, set the <tt>AutomaticLoginEnable</tt> to <tt>false</tt> in the\n<tt>[daemon]</tt> section in <tt>/etc/gdm/custom.conf</tt>. For example:\n<pre>[daemon]\nAutomaticLoginEnable=false</pre>", "rationale": "Failure to restrict system access to authenticated users negatively impacts operating\nsystem security.", "severity": "high", "references": {"cis-csc": ["11", "3", "9"], "cobit5": ["BAI10.01", "BAI10.02", "BAI10.03", "BAI10.05"], "cui": ["3.1.1"], "isa-62443-2009": ["4.3.4.3.2", "4.3.4.3.3"], "isa-62443-2013": ["SR 7.6"], "iso27001-2013": ["A.12.1.2", "A.12.5.1", "A.12.6.2", "A.14.2.2", "A.14.2.3", "A.14.2.4"], "nist": ["CM-6(a)", "AC-6(1)", "CM-7(b)"], "nist-csf": ["PR.IP-1"], "srg": ["SRG-OS-000480-GPOS-00229"], "pcidss4": ["8.3.1", "8.3"]}, "control_references": {"pcidss4": ["8.3.1", "8.3"]}, "components": [], "identifiers": {}, "ocil_clause": "GDM allows users to automatically login", "ocil": "To verify that automatic logins are disabled, run the following command:\n<pre>$ grep -Pzoi \"^\\[daemon]\\\\nautomaticlogin.*\" /etc/gdm/custom.conf</pre>\nThe output should show the following:\n<pre>[daemon]\nAutomaticLoginEnable=false</pre>", "oval_external_content": null, "fixtext": "Configure GDM to disable automatic login.\n\nSet AutomaticLoginEnable to false in the [daemon] section in /etc/gdm/custom.conf. For example:\n\n[daemon]\nAutomaticLoginEnable=false", "checktext": "", "vuldiscussion": "", "srg_requirement": "Unattended or automatic logon via the Ubuntu 22.04 graphical user interface must not be allowed.", "warnings": [], "conflicts": [], "requires": [], "policy_specific_content": {"stig": {"srg_requirement": "Ubuntu 22.04 must not allow unattended or automatic logon via the graphical user interface.", "vuldiscussion": "Failure to restrict system access to authenticated users negatively impacts operating system security.", "checktext": "Note: This requirement assumes the use of the Ubuntu 22.04 default graphical user interface, the GNOME desktop environment. If the system does not have any graphical user interface installed, this requirement is Not Applicable.\n\nVerify Ubuntu 22.04 does not allow an unattended or automatic logon to the system via a graphical user interface.\n\nCheck for the value of the \"AutomaticLoginEnable\" in the \"/etc/gdm/custom.conf\" file with the following command:\n\n$  grep -i automaticlogin /etc/gdm/custom.conf\n\nAutomaticLoginEnable=false\n\nIf the value of \"AutomaticLoginEnable\" is not set to \"false\", this is a finding.", "fixtext": "Configure the GNOME desktop display manager to disable automatic login.\n\nSet AutomaticLoginEnable to false in the [daemon] section in /etc/gdm/custom.conf. For example:\n\n[daemon]\nAutomaticLoginEnable=false"}}, "platform": null, "platforms": [], "sce_metadata": {}, "inherited_platforms": ["package[gdm]"], "cpe_platform_names": [], "inherited_cpe_platform_names": ["package_gdm"], "bash_conditional": null, "fixes": {}, "title": "Disable GDM Automatic Login", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/system/software/gnome/gnome_login_screen/gnome_gdm_disable_automatic_login/rule.yml", "template": null}