From a867379bba67957911c39edc3d49440172722c80 Mon Sep 17 00:00:00 2001 From: TommyTran732 <57488583+tommytran732@users.noreply.github.com> Date: Tue, 6 Apr 2021 11:00:15 -0400 Subject: [PATCH] Update Ubuntu-Update.sh --- Ubuntu-Update.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/Ubuntu-Update.sh b/Ubuntu-Update.sh index 17e95c6..fa3cc40 100644 --- a/Ubuntu-Update.sh +++ b/Ubuntu-Update.sh @@ -5,6 +5,7 @@ umask 077 sudo sed -ie '/^DIR_MODE=/ s/=[0-9]*\+/=0700/' /etc/adduser.conf sudo sed -ie '/^UMASK\s\+/ s/022/077/' /etc/login.defs sudo sed -i 's/USERGROUPS_ENAB no/USERGROUPS_ENAB yes/g' /etc/login.defs +sudo sed -i 's/HOME_MODE 0750/HOME_MODE 0700/g' /etc/login.defs #Remove unneeded packages #Note that I remove unattended upgrades because GNOME Software will be handling auto updates