Information
The x86 Ctrl-Alt-Delete key sequence must be disabled on RHEL 9.
GROUP ID: V-257785
RULE ID: SV-257785r1044833
A locally logged-on user who presses Ctrl-Alt-Delete when at the console can reboot the system. If accidentally pressed, as could happen in the case of a mixed OS environment, this can create the risk of short-term loss of availability of systems due to unintentional reboot. In a graphical user environment, risk of unintentional reboot from the Ctrl-Alt-Delete sequence is reduced because the user will be prompted before any action is taken.
Satisfies: SRG-OS-000324-GPOS-00125, SRG-OS-000480-GPOS-00227
Solution
Configure RHEL 9 to disable the ctrl-alt-del.target with the following command:
$ sudo systemctl disable --now ctrl-alt-del.target
$ sudo systemctl mask --now ctrl-alt-del.target