RHEL 10 must disable the ability of a user to accidentally press Ctrl-Alt-Del and cause a system to shut down or reboot.

STIG ID: RHEL-10-700830  |  SRG: SRG-OS-000420-GPOS-00186 |  Severity: medium (CAT II)  |  CCI: CCI-002385 |  Vulnerability Id: V-281286

Vulnerability Discussion

A locally logged-in user who presses Ctrl-Alt-Del, when at the console, can reboot the system. If accidentally pressed, as could happen in the case of mixed operating system environments, this can create the risk of short-term loss of availability of systems due to unintentional reboot.

Check

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 is configured to ignore the Ctrl-Alt-Del sequence in the GNOME desktop with the following command:

Check that the Ctrl-Alt-Del sequence settings for the graphical user interface cannot be overridden with the following command:

$ gsettings get org.gnome.settings-daemon.plugins.media-keys logout
@as []

If the GNOME desktop is configured to shut down when Ctrl-Alt-Del is pressed, this is a finding.

Fix

Configure RHEL 10 to ignore the Ctrl-Alt-Del sequence in the GNOME desktop.

Note: The example below is using the database "local" for the system. If the system is using another database in "/etc/dconf/profile/user", the file should be created under the appropriate subdirectory.

Update the "/etc/dconf/db/local.d/00-media-keys" file to set the media-keys logout setting as an empty string array:

$ sudo vi /etc/dconf/db/local.d/00-media-keys

[org/gnome/settings-daemon/plugins/media-keys]
logout=@as []

Run the following command to update the database:

$ sudo dconf update