Tripwire final install
This commit is contained in:
parent
43276c058b
commit
4ad9f08683
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue