Restrict what the SysRq key can do

This commit is contained in:
madaidan 2019-06-25 19:16:43 +00:00 committed by GitHub
parent 5269cfeef9
commit 01c839c815
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
etc/sysctl.d/sysrq.conf Normal file
View File

@ -0,0 +1,2 @@
# Allow only rebooting/shutting down with the SysRq key.
kernel.sysrq=128