mirror of
https://github.com/tommytran732/Linux-Setup-Scripts
synced 2024-11-09 03:31:33 -05:00
Update Ubuntu-Update.sh
This commit is contained in:
parent
a867379bba
commit
d69344295b
@ -4,7 +4,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/USERGROUPS_ENAB yes/USERGROUPS_ENAB no/g' /etc/login.defs
|
||||
sudo sed -i 's/HOME_MODE 0750/HOME_MODE 0700/g' /etc/login.defs
|
||||
|
||||
#Remove unneeded packages
|
||||
|
Loading…
Reference in New Issue
Block a user