Information
RHEL 9 must disable the ability of a user to restart the system from the login screen.
GROUP ID: V-258029
RULE ID: SV-258029r1045109
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.
Solution
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