STIGUI
V-258018CAT I — High severitySV-258018r1045090_rule

RHEL 9 must not allow unattended or automatic logon via the graphical user interface.

Rule version RHEL-09-271040 · STIG v2 · 2026-09-17

Discussion

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

Check

Note: This requirement assumes the use of the RHEL 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 RHEL 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

AutomaticLoginEnable=false

If the value of "AutomaticLoginEnable" is not set to "false", this is a finding.

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

Identifiers

Group ID
V-258018
Group title
SRG-OS-000480-GPOS-00229
Rule ID
SV-258018r1045090_rule
Check ID
C-61759r1045089_chk
Fix ID
F-61683r926040_fix