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

One less reset

parent 951489c0
No related branches found
No related tags found
No related merge requests found
......@@ -9393,7 +9393,6 @@ function intrusion_detection {
echo 'tripwire --update-policy --secure-mode low /etc/tripwire/twpol.txt' >> /usr/bin/reset-tripwire
chmod +x /usr/bin/reset-tripwire
 
reset-tripwire
sed -i 's/SYSLOGREPORTING.*/SYSLOGREPORTING =false/g' /etc/tripwire/twcfg.txt
sed -i '/# These files change the behavior of the root account/,/}/ s/.*//g' /etc/tripwire/twpol.txt
sed -i 's|/etc/rc.boot.*||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