Use tripwire

This commit is contained in:
Bob Mottram 2016-11-29 20:17:00 +00:00
parent 81ba396ae6
commit 7a66ad8571
2 changed files with 3 additions and 3 deletions

View File

@ -181,7 +181,7 @@ function test_stig {
##RHEL-06-000016
##A file integrity tool must be installed.
dpkg -s aide >/dev/null 2>&1 &
dpkg -s tripwire >/dev/null 2>&1 &
stig_spinner $!
output "V-38489" $? ${SETLANG}

View File

@ -131,12 +131,12 @@ an administrator.\n\n######################\n\n' >> $LOG
;;
V-38489) if [ "$3" = "en" ]; then
log_msg $2 'A file integrity tool must be installed.(AIDE)' ##Ported
log_msg $2 'A file integrity tool must be installed.(tripwire)' ##Ported
else
log_msg $2 '必须安装文件完整性的工具。'
fi
if [ $2 -ne 0 ];then
printf '\n######################\n\nSTIG-ID:RHEL-06-000016\n\nVulnerability Discussion: The AIDE package must be installed if it is to be available for integrity checking.\n\nFix text: Install the AIDE package with the command:\n\n#apt-get install aide\n\n######################\n\n' >> $LOG
printf '\n######################\n\nSTIG-ID:RHEL-06-000016\n\nVulnerability Discussion: The tripwire package must be installed if it is to be available for integrity checking.\n\nFix text: Install the tripwire package with the command:\n\n#apt-get install tripwire\n\n######################\n\n' >> $LOG
fi
;;