Check: RHEL-09-271040
RHEL 9 STIG:
RHEL-09-271040
(in versions v1 r3 through v1 r1)
Title
RHEL 9 must not allow unattended or automatic logon via the graphical user interface. (Cat I impact)
Discussion
Failure to restrict system access to authenticated users negatively impacts operating system security.
Check Content
Verify RHEL 9 does not allow an unattended or automatic logon to the system via a graphical user interface. 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. 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 [daemon] AutomaticLoginEnable=false If the value of "AutomaticLoginEnable" is not set to "false", this is a finding.
Fix Text
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
Additional Identifiers
Rule ID: SV-258018r926041_rule
Vulnerability ID: V-258018
Group Title: SRG-OS-000480-GPOS-00229
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000366 |
The organization implements the security configuration settings. |
Controls
Number | Title |
---|---|
CM-6 |
Configuration Settings |