Try to avoid user interaction on installing tripwire
This commit is contained in:
parent
825800a68e
commit
e43611da50
|
@ -11289,12 +11289,10 @@ function intrusion_detection {
|
|||
apt-get -y autoremove
|
||||
cd /etc/tripwire
|
||||
cp site.key $DEFAULT_DOMAIN_NAME-site.key
|
||||
echo ''
|
||||
echo ''
|
||||
echo '*** Installing intrusion detection. Press Enter when asked for the local and site passphrases. ***'
|
||||
echo ''
|
||||
echo ''
|
||||
tripwire --init
|
||||
echo '*** Installing intrusion detection ***'
|
||||
echo '
|
||||
|
||||
' | tripwire --init
|
||||
|
||||
# make a script for easy resetting of the tripwire
|
||||
echo '#!/bin/sh' > /usr/bin/reset-tripwire
|
||||
|
|
Loading…
Reference in New Issue