1
0
mirror of https://github.com/tommytran732/Linux-Setup-Scripts synced 2024-11-22 09:31:34 -05:00

Update Ubuntu-Desktop-20.04-LTS.sh

This commit is contained in:
TommyTran732 2021-04-04 09:46:57 +00:00 committed by GitHub
parent 7367774e39
commit 5571ca7193
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,9 +28,9 @@ echo "umask 077" | sudo tee --append /etc/profile
chmod -R o-rwx /home/${USER} chmod -R o-rwx /home/${USER}
#Remove unnecessary permissions #Remove unnecessary permissions
chmod o-w /var/crash sudo chmod o-w /var/crash
chmod o-w /var/metrics sudo chmod o-w /var/metrics
chmod o-w /var/tmp sudo chmod o-w /var/tmp
#Disable ptrace #Disable ptrace
echo "kernel.yama.ptrace_scope = 3" | sudo tee /etc/sysctl.d/10-default-yama-scope.conf echo "kernel.yama.ptrace_scope = 3" | sudo tee /etc/sysctl.d/10-default-yama-scope.conf