From a147f1a7464e7c133d7925be6dbce4a554c1e2f5 Mon Sep 17 00:00:00 2001 From: Tommy Date: Sun, 28 Apr 2024 16:10:14 -0700 Subject: [PATCH] Fix permission hardener Signed-off-by: Tommy --- whonix/whonix-gw.sh | 3 ++- whonix/whonix-ws.sh | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/whonix/whonix-gw.sh b/whonix/whonix-gw.sh index a7f053d..1fa5be8 100644 --- a/whonix/whonix-gw.sh +++ b/whonix/whonix-gw.sh @@ -26,7 +26,8 @@ sudo chmod 644 /etc/apt/apt.conf.d/99sane-upgrades sudo apt install --no-install-recommends qt5ct qt5-style-plugins arc-theme -y # Enabling SUID Disabler and Permission Hardener -sudo systemctl enable --now permission-hardening +sudo permission-hardener enable +sudo systemctl enable --now permission-hardener # Restrict /proc and access sudo systemctl enable --now proc-hidepid.service diff --git a/whonix/whonix-ws.sh b/whonix/whonix-ws.sh index e1e219d..cb2226a 100644 --- a/whonix/whonix-ws.sh +++ b/whonix/whonix-ws.sh @@ -26,7 +26,8 @@ sudo chmod 644 /etc/apt/apt.conf.d/99sane-upgrades sudo apt install --no-install-recommends qt5ct qt5-style-plugins arc-theme git -y # Enabling SUID Disabler and Permission Hardener -sudo systemctl enable --now permission-hardening +sudo permission-hardener enable +sudo systemctl enable --now permission-hardener # Restrict /proc and access sudo systemctl enable --now proc-hidepid.service