/etc/logwatch/scripts/services/seaudit-report-service is in setools 3.3.6.ds-7.2ubuntu4.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | #!/bin/sh
# shell script to run seaudit-report on STDIN
#
SEAUDITREPORT=/usr/bin/seaudit-report
OPTS="--stdin --malformed"
echo "Date Range: $LOGWATCH_DATE_RANGE"
echo "Detail Level: $LOGWATCH_DETAIL_LEVEL"
echo "Temp Dir: $LOGWATCH_TEMP_DIR"
echo "Debug Level: $LOGWATCH_DEBUG"
# execute the program with the specified options
${SEAUDITREPORT} ${OPTS}
# program failed
if [ $? -ne 0 ]; then
RC=$?
echo >&2 "Failed while executing seaudit-report.\n"
exit $RC
fi
# All done, exit ok
exit 0
|