Information
RHEL 10 must not allow unattended or automatic login via the graphical user interface.
GROUP ID: V-281275RULE ID: SV-281275r1166777
Failure to restrict system access to authenticated users negatively impacts operating system security.
Solution
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