Reset tripwire

This commit is contained in:
Bob Mottram 2017-08-03 21:32:18 +01:00
parent da30734ba9
commit 4bf48b5801
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ function install_tripwire {
# make a script for easy resetting of the tripwire
echo '#!/bin/sh' > /usr/bin/reset-tripwire
echo 'tripwire --update-policy --secure-mode low /etc/tripwire/twpol.txt' >> /usr/bin/reset-tripwire
echo 'tripwire -m i' >> /usr/bin/reset-tripwire
chmod +x /usr/bin/reset-tripwire
sed -i '/# These files change the behavior of the root account/,/}/ s/.*//g' /etc/tripwire/twpol.txt