mirror of
https://github.com/tommytran732/Linux-Setup-Scripts
synced 2024-11-22 01:21:33 -05:00
Update Ubuntu-Desktop-20.04-LTS.sh
This commit is contained in:
parent
7367774e39
commit
5571ca7193
@ -28,9 +28,9 @@ echo "umask 077" | sudo tee --append /etc/profile
|
||||
chmod -R o-rwx /home/${USER}
|
||||
|
||||
#Remove unnecessary permissions
|
||||
chmod o-w /var/crash
|
||||
chmod o-w /var/metrics
|
||||
chmod o-w /var/tmp
|
||||
sudo chmod o-w /var/crash
|
||||
sudo chmod o-w /var/metrics
|
||||
sudo chmod o-w /var/tmp
|
||||
|
||||
#Disable ptrace
|
||||
echo "kernel.yama.ptrace_scope = 3" | sudo tee /etc/sysctl.d/10-default-yama-scope.conf
|
||||
|
Loading…
Reference in New Issue
Block a user