Sophie

Sophie

distrib > CentOS > 5 > x86_64 > by-pkgid > f34bcba81c88d231362731dd8a533ab9 > files > 24

audit-1.8-2.el5.x86_64.rpm

#!/bin/sh

##########
# This script can be installed to get a daily log rotation
# based on a cron job.
##########

/sbin/service auditd rotate
EXITVALUE=$?
if [ $EXITVALUE != 0 ]; then
    /usr/bin/logger -t auditd "ALERT exited abnormally with [$EXITVALUE]"
fi
exit 0