From 2f8d9491cdee4fd13d03c6e36a24d943390c3cb9 Mon Sep 17 00:00:00 2001 From: Tommy Date: Tue, 6 Dec 2022 04:49:38 -0500 Subject: [PATCH] Remove NetworkManager systemd-sandbox-exec Signed-off-by: Tommy --- fedora-minimal/fedora-minimal.sh | 4 ---- fedora/fedora.sh | 2 -- 2 files changed, 6 deletions(-) diff --git a/fedora-minimal/fedora-minimal.sh b/fedora-minimal/fedora-minimal.sh index 68d19c0..28720ea 100644 --- a/fedora-minimal/fedora-minimal.sh +++ b/fedora-minimal/fedora-minimal.sh @@ -7,7 +7,3 @@ sudo curl --proxy http://127.0.0.1:8082 https://raw.githubusercontent.com/Kickse sudo curl --proxy http://127.0.0.1:8082 https://raw.githubusercontent.com/Kicksecure/security-misc/master/etc/sysctl.d/30_security-misc.conf -o /etc/sysctl.d/30_security-misc.conf sudo sed -i 's/kernel.yama.ptrace_scope=2/kernel.yama.ptrace_scope=3/g' /etc/sysctl.d/30_security-misc.conf sudo curl --proxy http://127.00.1:8082 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 - -# Systemd hardening -sudo mkdir -p /etc/systemd/system/NetworkManager.service.d -sudo curl --proxy http://127.0.0.1:8082 https://raw.githubusercontent.com/divestedcg/Brace/master/brace/usr/lib/systemd/system/NetworkManager.service.d/99-brace.conf -o /etc/systemd/system/NetworkManager.service.d/99-brace.conf diff --git a/fedora/fedora.sh b/fedora/fedora.sh index ccb1101..a4a38a3 100644 --- a/fedora/fedora.sh +++ b/fedora/fedora.sh @@ -14,8 +14,6 @@ sudo sed -i 's/kernel.yama.ptrace_scope=2/kernel.yama.ptrace_scope=3/g' /etc/sys sudo curl --proxy http://127.00.1:8082 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 # Systemd hardening -sudo mkdir -p /etc/systemd/system/NetworkManager.service.d -sudo curl --proxy http://127.0.0.1:8082 https://raw.githubusercontent.com/divestedcg/Brace/master/brace/usr/lib/systemd/system/NetworkManager.service.d/99-brace.conf -o /etc/systemd/system/NetworkManager.service.d/99-brace.conf sudo mkdir -p /etc/systemd/system/ModemManager.service.d sudo curl --proxy http://127.0.0.1:8082 https://raw.githubusercontent.com/divestedcg/Brace/master/brace/usr/lib/systemd/system/ModemManager.service.d/99-brace.conf -o /etc/systemd/system/ModemManager.service.d/99-brace.conf