Bob Mottram 10 年 前
コミット
34098d153d
共有1 個のファイルを変更した2 個の追加3 個の削除を含む
  1. 2
    3
      install-freedombone.sh

+ 2
- 3
install-freedombone.sh ファイルの表示

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