SV-281275r1166777_rule
V-281275
SRG-OS-000080-GPOS-00048
RHEL-10-700720
CAT I
10
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
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.
V-281275
False
RHEL-10-700720
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.
M
5733