STIGUI
V-281275CAT I — High severitySV-281275r1268226_rule

RHEL 10 must not allow unattended or automatic login via the graphical user interface.

Rule version RHEL-10-700720 · STIG v1 · 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 10 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 10 does not allow an unattended or automatic login 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 RHEL 10 so that the GNOME desktop display manager disables automatic login.

Update the "/etc/gdm/custom.conf" file to disable automatic login to the GNOME desktop:

$ sudo vi /etc/gdm/custom.conf

[daemon] AutomaticLoginEnable=false

Identifiers

Group ID
V-281275
Group title
SRG-OS-000080-GPOS-00048
Rule ID
SV-281275r1268226_rule
Check ID
C-85836r1166775_chk
Fix ID
F-85741r1166776_fix