mirror of
https://github.com/tommytran732/Linux-Setup-Scripts
synced 2024-11-22 09:31:34 -05:00
Update Fedora-WorkStation-33.sh
This commit is contained in:
parent
50b5126acd
commit
5008fd327f
@ -24,6 +24,9 @@ umask 077
|
|||||||
sudo sed -i 's/umask 002/umask 077/g' /etc/bashrc
|
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
|
||||||
|
chmod -R o-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/
|
||||||
sudo sed -i 's/kernel.yama.ptrace_scope = 0/kernel.yama.ptrace_scope = 3/g' /etc/sysctl.d/10-default-yama-scope.conf
|
sudo sed -i 's/kernel.yama.ptrace_scope = 0/kernel.yama.ptrace_scope = 3/g' /etc/sysctl.d/10-default-yama-scope.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user