Check: RHEL-07-010063
Red Hat Enterprise Linux 7 STIG:
RHEL-07-010063
(in versions v3 r14 through v3 r11)
Title
The Red Hat Enterprise Linux operating system must disable the login screen user list for graphical user interfaces. (Cat II impact)
Discussion
Leaving the user list enabled is a security risk as it allows anyone with physical access to the system to enumerate known user accounts without authenticated access to the system.
Check Content
Verify that the operating system is configured to disable the login screen user list for graphical user interfaces. Note: If the system does not have the GNOME Desktop installed, this requirement is Not Applicable. Verify that the login screen user list for the GNOME Desktop is disabled with the following command: $ sudo grep -is disable-user-list /etc/dconf/db/gdm.d/* /etc/dconf/db/gdm.d/00-login-screen:disable-user-list=true If the variable "disable-user-list" is not defined in a file under "/etc/dconf/db/gdm.d/", is not set to "true", is missing or commented out, this is a finding.
Fix Text
Configure the operating system to disable the login screen user list for graphical user interfaces. Create or edit the gdm profile in "/etc/dconf/profile/" to contain the following lines: $ sudo vi /etc/dconf/profile/gdm user-db:user system-db:gdm file-db:/usr/share/gdm/greeter-dconf-defaults Create or edit the gdm database for machine-wide settings in "/etc/dconf/db/gdm.d/" with the following lines: $ sudo vi /etc/dconf/db/gdm.d/00-login-screen [org/gnome/login-screen] disable-user-list=true Update the system databases by updating the dconf utility: $ sudo dconf update If the login screen user list persists after updating the system databases, you can restart the GNOME Desktop without rebooting the system: $ sudo systemctl restart gdm
Additional Identifiers
Rule ID: SV-256969r902690_rule
Vulnerability ID: V-256969
Group Title: SRG-OS-000480-GPOS-00227
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000366 |
The organization implements the security configuration settings. |
Controls
Number | Title |
---|---|
CM-6 |
Configuration Settings |