On 03/14/2017 07:18 PM, Chris Laprise wrote:

# Protect sh and bash init files
chfiles="/home/user/.bashrc /home/user/.bash_profile /home/user \
/.bash_login /home/user/.bash_logout /home/user/.profile"
touch $chfiles
chown -f root:root $chfiles
chattr +i $chfiles


The line break on that didn't work out (delete space before backslash). Here it is fixed:

https://github.com/tasket/Qubes-VM-hardening/blob/master/rc.local

Also changed to avoid abort of script.

--

Chris Laprise, [email protected]
https://twitter.com/ttaskett

--
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/d1c30164-e4ba-730f-989e-8e934a78a9c1%40openmailbox.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to