瀏覽代碼

Reset tripwire

Bob Mottram 8 年之前
父節點
當前提交
4bf48b5801
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/freedombone-base-tripwire

+ 1
- 1
src/freedombone-base-tripwire 查看文件

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