From 47b46127d0e3ee38c2180669250f06e56dd6ed2a Mon Sep 17 00:00:00 2001 From: Tommy Date: Tue, 24 May 2022 07:46:36 -0400 Subject: [PATCH] Update whonix-hardening.sh --- whonix-hardening.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/whonix-hardening.sh b/whonix-hardening.sh index 32e2319..05cd000 100644 --- a/whonix-hardening.sh +++ b/whonix-hardening.sh @@ -1,16 +1,16 @@ #!/bin/bash #Enabling SUID Disabler and Permission Hardener -systemctl enable --now permission-hardening +sudo systemctl enable --now permission-hardening #Install LKRG -apt update -apt full-upgrade -y +sudo apt update +sudo apt full-upgrade -y sudo apt install --no-install-recommends lkrg-dkms linux-headers-amd64 #Enable hardened malloc -echo "/usr/lib/libhardened_malloc.so/libhardened_malloc.so" >> /etc/ld.so.preload +echo "/usr/lib/libhardened_malloc.so/libhardened_malloc.so" | sudo tee /etc/ld.so.preload #Reduce kernel information leaks #Will break a lot of applications. The apps I use on Whonix work fine with it so I am enabling it. -systemctl enable --now hide-hardware-info.service +sudo systemctl enable --now hide-hardware-info.service