mirror of
https://github.com/tasket/Qubes-VM-hardening.git
synced 2024-12-13 01:54:24 -05:00
Prevent abort
This commit is contained in:
parent
ccaf89bdf8
commit
a572756340
4
rc.local
4
rc.local
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user