Tripwire final install

This commit is contained in:
Bob Mottram 2017-09-03 18:22:59 +01:00
parent 43276c058b
commit 4ad9f08683
1 changed files with 0 additions and 15 deletions

View File

@ -146,21 +146,6 @@ function install_tripwire {
' | twadmin --create-polfile -S /etc/tripwire/${HOSTNAME}-site.key /etc/tripwire/twpol.txt
# create the database
echo '
' | tripwire --init --cfgfile /etc/tripwire/tw.cfg --polfile /etc/tripwire/tw.pol --dbfile /var/lib/tripwire/${HOSTNAME}.twd
if [ ! -f /var/lib/tripwire/${HOSTNAME}.twd ]; then
echo $'tripwire database was not created'
exit 72925
fi
# recreate the configuration
echo '
' | reset-tripwire
mark_completed $FUNCNAME
}