From 7d8050e41e3ac9daf5c564999e47db0691197c8c Mon Sep 17 00:00:00 2001 From: TommyTran732 <57488583+tommytran732@users.noreply.github.com> Date: Sun, 4 Apr 2021 12:48:15 +0000 Subject: [PATCH] Update Fedora-WorkStation-33.sh --- Fedora-WorkStation-33.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Fedora-WorkStation-33.sh b/Fedora-WorkStation-33.sh index 77fa2d9..556cfc4 100644 --- a/Fedora-WorkStation-33.sh +++ b/Fedora-WorkStation-33.sh @@ -25,8 +25,7 @@ sudo sed -i 's/umask 002/umask 077/g' /etc/bashrc sudo sed -i 's/umask 022/umask 077/g' /etc/bashrc #Make home directory private -chmod -R o-rwx /home/${USER} -chmod -R g-rwx /home/${USER} +chmod 700 /home/* #Disable ptrace sudo cp /usr/lib/sysctl.d/10-default-yama-scope.conf /etc/sysctl.d/