mirror of
https://github.com/tommytran732/Linux-Setup-Scripts
synced 2024-11-22 09:31:34 -05:00
Update Ubuntu-20.04-LTS.sh
This commit is contained in:
parent
860abee511
commit
50b5126acd
@ -22,6 +22,9 @@ umask 077
|
||||
sudo sed -i 's/UMASK 022/UMASK 077/g' /etc/login.defs
|
||||
echo "umask 077" | sudo tee --append /etc/profile
|
||||
|
||||
#Make home directory private
|
||||
chmod -R o-rwx /home/${USER}
|
||||
|
||||
#Disable ptrace
|
||||
echo "kernel.yama.ptrace_scope = 3" | sudo tee /etc/sysctl.d/10-default-yama-scope.conf
|
||||
sudo sysctl --load=/etc/sysctl.d/10-default-yama-scope.conf
|
||||
|
Loading…
Reference in New Issue
Block a user