mirror of
https://github.com/tommytran732/Linux-Setup-Scripts
synced 2024-11-22 01:21:33 -05:00
Update Fedora-WorkStation-33.sh
This commit is contained in:
parent
73c97cf3c1
commit
7d8050e41e
@ -25,8 +25,7 @@ sudo sed -i 's/umask 002/umask 077/g' /etc/bashrc
|
|||||||
sudo sed -i 's/umask 022/umask 077/g' /etc/bashrc
|
sudo sed -i 's/umask 022/umask 077/g' /etc/bashrc
|
||||||
|
|
||||||
#Make home directory private
|
#Make home directory private
|
||||||
chmod -R o-rwx /home/${USER}
|
chmod 700 /home/*
|
||||||
chmod -R g-rwx /home/${USER}
|
|
||||||
|
|
||||||
#Disable ptrace
|
#Disable ptrace
|
||||||
sudo cp /usr/lib/sysctl.d/10-default-yama-scope.conf /etc/sysctl.d/
|
sudo cp /usr/lib/sysctl.d/10-default-yama-scope.conf /etc/sysctl.d/
|
||||||
|
Loading…
Reference in New Issue
Block a user