OL 9 must not allow unattended or automatic logon via the graphical user interface.
Overview
| Finding ID | Version | Rule ID | IA Controls | Severity |
| V-271691 | OL09-00-002161 | SV-271691r1091785_rule | CCI-000366 | high |
| Description | ||||
| Failure to restrict system access to authenticated users negatively impacts operating system security. | ||||
| STIG | Date | |||
| Oracle Linux 9 Security Technical Implementation Guide | 2025-05-08 | |||
Details
Check Text (C-271691r1091785_chk)
This requirement assumes the use of the OL 9 default graphical user interface—the GNOME desktop environment. If the system does not have any graphical user interface installed, this requirement is Not Applicable.
Verify that OL 9 does not allow an unattended or automatic logon to the system via a graphical user interface.
Check for the value of the "AutomaticLoginEnable" in the "/etc/gdm/custom.conf" file with the following command:
$ grep -i automaticlogin /etc/gdm/custom.conf
[daemon]
AutomaticLoginEnable=false
If the value of "AutomaticLoginEnable" is not set to "false", this is a finding.
Fix Text (F-75648r1091784_fix)
Configure the GNOME desktop display manager to disable automatic login.
Set AutomaticLoginEnable to false in the [daemon] section in /etc/gdm/custom.conf. For example:
[daemon]
AutomaticLoginEnable=false