Modify 8.3.1

This commit is contained in:
Samson-W 2018-11-19 05:31:34 -05:00
parent b7457a81f7
commit dabf90d48b

View File

@ -1,11 +1,12 @@
#!/bin/bash #!/bin/bash
# #
# harbian audit 7/8/9 Hardening # harbian audit 9 Hardening
# #
# #
# 8.3.1 Install tripwire package (Scored) # 8.3.1 Install aide package (Scored)
# Moidfy by; Samson Wen (sccxboy@gmail.com)
# #
set -e # One error, it's over set -e # One error, it's over
@ -14,7 +15,7 @@ set -u # One variable unset, it's over
HARDENING_LEVEL=4 HARDENING_LEVEL=4
# NB : in CIS, AIDE has been chosen, however we chose tripwire # NB : in CIS, AIDE has been chosen, however we chose tripwire
PACKAGE='tripwire' PACKAGE='aide'
# This function will be called if the script status is on enabled / audit mode # This function will be called if the script status is on enabled / audit mode
audit () { audit () {
@ -34,7 +35,7 @@ apply () {
else else
crit "$PACKAGE is absent, installing it" crit "$PACKAGE is absent, installing it"
apt_install $PACKAGE apt_install $PACKAGE
info "Tripwire is now installed but not fully functionnal, please see readme to go further" info "${PACKAGE} is now installed but not fully functionnal, please see readme to go further"
fi fi
} }