RHEL 9 must disable the ability of a user to restart the system from the login screen.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
---|---|---|---|---|---|---|
medium | V-258029 | SRG-OS-000480-GPOS-00227 | RHEL-09-271095 | SV-258029r1045109_rule | 2025-02-27 | 2 |
Description |
---|
A user who is at the console can reboot the system at the login screen. If restart or shutdown buttons are pressed at the login screen, this can create the risk of short-term loss of availability of systems due to reboot. |
ℹ️ Check |
---|
Note: This requirement assumes the use of the RHEL 9 default graphical user interface, Gnome Shell. If the system does not have any graphical user interface installed, this requirement is Not Applicable. Verify RHEL 9 disables a user's ability to restart the system with the following command: $ gsettings get org.gnome.login-screen disable-restart-buttons true If "disable-restart-buttons" is "false", this is a finding. |
✔️ Fix |
---|
Configure RHEL 9 to disable a user's ability to restart the system. $ gsettings set org.gnome.login-screen disable-restart-buttons true Update the dconf system databases: $ sudo dconf update |