From 01c839c815b7f8c16c231bbd72da1673ad88fdb7 Mon Sep 17 00:00:00 2001 From: madaidan <50278627+madaidan@users.noreply.github.com> Date: Tue, 25 Jun 2019 19:16:43 +0000 Subject: [PATCH] Restrict what the SysRq key can do --- etc/sysctl.d/sysrq.conf | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 etc/sysctl.d/sysrq.conf diff --git a/etc/sysctl.d/sysrq.conf b/etc/sysctl.d/sysrq.conf new file mode 100644 index 0000000..266e275 --- /dev/null +++ b/etc/sysctl.d/sysrq.conf @@ -0,0 +1,2 @@ +# Allow only rebooting/shutting down with the SysRq key. +kernel.sysrq=128