Prevent abort

This commit is contained in:
tasket 2017-03-14 22:11:29 -04:00 committed by GitHub
parent ccaf89bdf8
commit a572756340

View File

@ -5,5 +5,5 @@
## to prevent privilege escalation attacks ## ## to prevent privilege escalation attacks ##
chfiles="/home/user/.bashrc /home/user/.bash_profile /home/user/.bash_login /home/user/.bash_logout /home/user/.profile" chfiles="/home/user/.bashrc /home/user/.bash_profile /home/user/.bash_login /home/user/.bash_logout /home/user/.profile"
touch $chfiles || true touch $chfiles || true
chown -f root:root $chfiles chown -f root:root $chfiles || true
chattr -f +i $chfiles chattr -f +i $chfiles || true