Reset tripwire
This commit is contained in:
parent
da30734ba9
commit
4bf48b5801
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue