mirror of
https://github.com/hardenedlinux/harbian-audit.git
synced 2025-07-29 00:25:18 +02:00
Modify 8.3.1
This commit is contained in:
parent
b7457a81f7
commit
dabf90d48b
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user