#!/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
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
rules | Folder | 0755 |
|
|
COPYING | File | 17.57 KB | 0644 |
|
ChangeLog | File | 35.98 KB | 0644 |
|
README | File | 4.86 KB | 0644 |
|
auditd.cron | File | 271 B | 0644 |
|