Delete lines

This commit is contained in:
Bob Mottram 2014-10-11 16:36:43 +01:00
parent 4f68eb83a2
commit 34098d153d
1 changed files with 2 additions and 3 deletions

View File

@ -4542,11 +4542,10 @@ function intrusion_detection {
apt-get -y --force-yes install tripwire
apt-get -y --force-yes autoremove
cd /etc/tripwire
cp arm-local.key $DOMAIN_NAME-local.key
cp site.key $DOMAIN_NAME-site.key
echo ''
echo ''
echo '*** Installing intrusion detection. You should create a couple of passwords for this. ***'
echo '*** Installing intrusion detection. Press Enter when asked for the local and site passphrases. ***'
echo ''
echo ''
tripwire --init
@ -4558,7 +4557,7 @@ function intrusion_detection {
reset-tripwire
sed -i 's/SYSLOGREPORTING =true/#SYSLOGREPORTING =false/g' /etc/tripwire/twcfg.txt
sed -i '/# These files change the behavior of the root account/,/}/ s/# *//' /etc/tripwire/twpol.txt
sed -i '/# These files change the behavior of the root account/,/}/ s/.*/d' /etc/tripwire/twpol.txt
reset-tripwire
echo 'intrusion_detection' >> $COMPLETION_FILE