Not using aide

Check for tripwire cron entry instead
This commit is contained in:
Bob Mottram 2017-07-15 10:30:02 +01:00
parent f3d6fc59f2
commit 054c452d71
3 changed files with 6 additions and 6 deletions

View File

@ -1031,7 +1031,7 @@ function test_stig {
##RHEL-06-000302
##A file integrity tool must be used at least weekly to check for unauthorized file changes, particularly the addition of unauthorized system libraries or binaries, or for unauthorized modification to authorized system libraries or binaries.
bash $STIG_TESTS_DIR/check-aide-cron.sh > /dev/null 2>&1 &
bash $STIG_TESTS_DIR/check-tripwire-cron.sh > /dev/null 2>&1 &
stig_spinner $!
output "V-38695" $? ${SETLANG}

View File

@ -1,5 +0,0 @@
#1/bin/bash
if [ $(grep aide /etc/crontab /etc/cron.*/* | wc -l) -ne 0 ];then
exit 1
fi

View File

@ -0,0 +1,5 @@
#1/bin/bash
if [ ! -f /etc/cron.daily/tripwire ];then
exit 1
fi