1.344 RHEL-10-700720

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

See Also

https://workbench.cisecurity.org/benchmarks/26403