|
|
|
|
90
|
|
90
|
|
91
|
# make a script for easy resetting of the tripwire
|
91
|
# make a script for easy resetting of the tripwire
|
92
|
echo '#!/bin/sh' > /usr/bin/reset-tripwire
|
92
|
echo '#!/bin/sh' > /usr/bin/reset-tripwire
|
93
|
- echo 'tripwire --update-policy --secure-mode low /etc/tripwire/twpol.txt' >> /usr/bin/reset-tripwire
|
|
|
|
|
93
|
+ echo 'tripwire -m i' >> /usr/bin/reset-tripwire
|
94
|
chmod +x /usr/bin/reset-tripwire
|
94
|
chmod +x /usr/bin/reset-tripwire
|
95
|
|
95
|
|
96
|
sed -i '/# These files change the behavior of the root account/,/}/ s/.*//g' /etc/tripwire/twpol.txt
|
96
|
sed -i '/# These files change the behavior of the root account/,/}/ s/.*//g' /etc/tripwire/twpol.txt
|