From 4df1ad9f1e3fbca2a3e866bfe19ef7c4deffcd97 Mon Sep 17 00:00:00 2001 From: Samson-W Date: Fri, 16 Aug 2019 18:27:33 +0800 Subject: [PATCH] Modify 8.4.1 8.4.2 to be compatible with CentOS. --- bin/hardening/8.4.1_install_aide.sh | 1 + bin/hardening/8.4.2_aide_cron.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/hardening/8.4.1_install_aide.sh b/bin/hardening/8.4.1_install_aide.sh index f5cb9bd..60c11c9 100755 --- a/bin/hardening/8.4.1_install_aide.sh +++ b/bin/hardening/8.4.1_install_aide.sh @@ -37,6 +37,7 @@ apply () { if [ $OS_RELEASE -eq 2 ]; then yum install -y $PACKAGE aide --init + mv /var/lib/aide/aide.db.new.gz /var/lib/aide/aide.db.gz else apt_install $PACKAGE aideinit diff --git a/bin/hardening/8.4.2_aide_cron.sh b/bin/hardening/8.4.2_aide_cron.sh index 8121cbf..3c5a602 100755 --- a/bin/hardening/8.4.2_aide_cron.sh +++ b/bin/hardening/8.4.2_aide_cron.sh @@ -1,7 +1,7 @@ #!/bin/bash # -# harbian audit 9 Hardening +# harbian audit 9/10 or CentOS Hardening # #