Skip to content
Snippets Groups Projects
Commit 054c452d authored by Bob Mottram's avatar Bob Mottram
Browse files

Not using aide

Check for tripwire cron entry instead
parent f3d6fc59
No related branches found
No related tags found
No related merge requests found
......@@ -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}
......
#1/bin/bash
if [ $(grep aide /etc/crontab /etc/cron.*/* | wc -l) -ne 0 ];then
if [ ! -f /etc/cron.daily/tripwire ];then
exit 1
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment