mirror of
https://github.com/tasket/Qubes-VM-hardening.git
synced 2024-12-11 17:14:20 -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 ##
|
||||
chfiles="/home/user/.bashrc /home/user/.bash_profile /home/user/.bash_login /home/user/.bash_logout /home/user/.profile"
|
||||
touch $chfiles || true
|
||||
chown -f root:root $chfiles
|
||||
chattr -f +i $chfiles
|
||||
chown -f root:root $chfiles || true
|
||||
chattr -f +i $chfiles || true
|
||||
|
Loading…
Reference in New Issue
Block a user