RHEL7/8/9: How to disable ScrollLock key and Ctrl-S so it cannot accidentally prevent shutdown/boot of the system
Issue
-
We had OS hangs after executing shutdown. We found out this was due to Scoll-lock being pressed at some point.
-
We unlocked the output as described in OS hangs after executing shutdown after scroll-lock was pressed at some point, but how can we prevent this in the future?
-
Kbase RHEL5: The shutdown/reboot process hangs up after scroll lock turn on describes how to prevent Scroll-lock on rhel5, but how can I do this on newer RHEL?
Environment
- Red Hat Enterprise Linux (RHEL) 7, 8 and 9
- systemd
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.