From f50b4b10929a01dfe3f5400544e871d2cbb74143 Mon Sep 17 00:00:00 2001 From: samson Date: Mon, 19 Nov 2018 12:14:18 +0800 Subject: [PATCH] Delete postinstall dir --- bin/postinstall/tripwire.sh | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100755 bin/postinstall/tripwire.sh diff --git a/bin/postinstall/tripwire.sh b/bin/postinstall/tripwire.sh deleted file mode 100755 index 43f5f29..0000000 --- a/bin/postinstall/tripwire.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -# -# CIS Debian 7 Hardening -# - -# If you followed this CIS hardening, this script follows 8.3.1_install_tripwire.sh -# After installing tripwire, you may want to run those few commented commands to make it fully functionnal - -echo "Generating Site key file..." -twadmin -m G -S /etc/tripwire/site.key # Generates Site key file -echo "Generating Local key file..." -twadmin -m G -S /etc/tripwire/$(hostname -f)-local.key # Generate local key file -echo "Generating encrypted policy..." -twadmin -m P /etc/tripwire/twpol.txt # Apply new policy with generated site key file -echo "Generating Local database with newly created key..." -/usr/sbin/twadmin --create-cfgfile -S /etc/tripwire/site.key /etc/tripwire/twcfg.txt # Init database with generated local key file -echo "Testing tripwire database update" -tripwire -m i # Test configuration update