1
0
mirror of https://github.com/tommytran732/Linux-Setup-Scripts synced 2024-11-22 01:21:33 -05:00

Disable sysrq

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2024-06-04 03:50:00 -07:00
parent 5e58a06876
commit 603738ff45
Signed by: Tomster
GPG Key ID: 555C902A34EC968F
2 changed files with 14 additions and 6 deletions

View File

@ -56,6 +56,10 @@ kernel.perf_event_paranoid = 4
# on a Proxmox node.
kernel_io_uring_disable = 2
# https://madaidans-insecurities.github.io/guides/linux-hardening.html#sysctl-kernel
# Disable sysrq
kernel.sysrq = 0
# https://www.stigviewer.com/stig/red_hat_enterprise_linux_6/2020-09-03/finding/V-217911
# Not running a router here, so no redirects
net.ipv4.conf.*.send_redirects = 0

View File

@ -56,6 +56,10 @@ kernel.perf_event_paranoid = 4
# on a Proxmox node.
kernel_io_uring_disable = 2
# https://madaidans-insecurities.github.io/guides/linux-hardening.html#sysctl-kernel
# Disable sysrq
kernel.sysrq = 0
# https://www.stigviewer.com/stig/red_hat_enterprise_linux_6/2020-09-03/finding/V-217911
# Not running a router here, so no redirects
net.ipv4.conf.*.send_redirects = 0