wget http://downloads.sourceforge.net/project/tripwire/tripwire-src/tripwire-2.4.2-src/tripwire-2.4.2-src.tar.bz2?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Ftripwire%2Ffiles%2Ftripwire-src%2Ftripwire-2.4.2-src%2F&ts=1303841362&use_mirror=jaist tar -jxvf tripwire-2.4.2-src.tar.bz2 cd tripwire-2.4.2-src/ ./configure vim .install/install.cfg ------------------------------------ TWMAILMETHOD=SENDMAIL ▼ #TWMAILMETHOD=SENDMAIL #TWMAILMETHOD=SMTP #TWSMTPHOST="mail.domain.com" #TWSMTPPORT=25 ▼ TWMAILMETHOD=SMTP TWSMTPHOST="mail.domain.com" TWSMTPPORT=25 ------------------------------------ make make install
################################################ # ## ################################################ # # # # # Customized Settigs # # # ## ################################################ ( rulename = "Customized Settigs", ) { /root/securecheck -> $(Growing); /var/lib/clamav/mirrors.dat -> $(Dynamic); }
twadmin --create-polfile -S /usr/local/etc/site.key /usr/local/etc/twpol.txt twadmin --create-cfgfile -S /usr/local/etc/site.key /usr/local/etc/twcfg.txt tripwire --init
下記コマンドで実行
tripwire --check