Skip to content
Snippets Groups Projects
Commit 4bf48b58 authored by Bob Mottram's avatar Bob Mottram
Browse files

Reset tripwire

parent da30734b
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment