From 72025f424c8eca471127d538f7b0a5ac5bc4d054 Mon Sep 17 00:00:00 2001 From: Tommy Date: Thu, 16 May 2024 22:16:16 -0700 Subject: [PATCH] Blacklist bluetooth on Fedora Server Signed-off-by: Tommy --- Fedora-Server-40.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Fedora-Server-40.sh b/Fedora-Server-40.sh index f8fab9e..eaff148 100644 --- a/Fedora-Server-40.sh +++ b/Fedora-Server-40.sh @@ -57,6 +57,8 @@ sudo chmod 644 /etc/ssh/ssh_config.d/10-custom.conf unpriv curl https://raw.githubusercontent.com/Kicksecure/security-misc/master/etc/modprobe.d/30_security-misc.conf | sudo tee /etc/modprobe.d/30_security-misc.conf sudo chmod 644 /etc/modprobe.d/30_security-misc.conf sudo sed -i 's/#install msr/install msr/g' /etc/modprobe.d/30_security-misc.conf +sudo sed -i 's/# install bluetooth/install bluetooth/g' /etc/modprobe.d/30_security-misc.conf +sudo sed -i 's/# install btusb/install btusb/g' /etc/modprobe.d/30_security-misc.conf unpriv curl https://raw.githubusercontent.com/Kicksecure/security-misc/master/usr/lib/sysctl.d/990-security-misc.conf | sudo tee /etc/sysctl.d/990-security-misc.conf sudo chmod 644 /etc/sysctl.d/990-security-misc.conf sudo sed -i 's/kernel.yama.ptrace_scope=2/kernel.yama.ptrace_scope=3/g' /etc/sysctl.d/990-security-misc.conf