From 76a5b64ad2e9b27ea9922a479a8841bd0ef51a01 Mon Sep 17 00:00:00 2001 From: Tommy Date: Fri, 16 Sep 2022 04:17:20 -0400 Subject: [PATCH] kernel.yama.ptrace_scope=3 Signed-off-by: Tommy --- RHEL-Server-9.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RHEL-Server-9.sh b/RHEL-Server-9.sh index a71d5db..ef92f4c 100644 --- a/RHEL-Server-9.sh +++ b/RHEL-Server-9.sh @@ -12,4 +12,4 @@ sudo curl https://raw.githubusercontent.com/Whonix/security-misc/master/etc/modp sudo curl https://raw.githubusercontent.com/Kicksecure/security-misc/master/etc/sysctl.d/30_security-misc.conf -o /etc/sysctl.d/30_security-misc.conf sudo curl https://raw.githubusercontent.com/Kicksecure/security-misc/master/etc/sysctl.d/30_silent-kernel-printk.conf -o /etc/sysctl.d/30_silent-kernel-printk.conf sudo curl https://raw.githubusercontent.com/GrapheneOS/infrastructure/main/chrony.conf -o /etc/chrony.conf - +sed -i 's/kernel.yama.ptrace_scope=2/kernel.yama.ptrace_scope=3/g' /etc/sysctl.d/30_security-misc.conf \ No newline at end of file