文件操作 - auditd.cron
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/doc/audit-2.8.5/auditd.cron
编辑文件内容
#!/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
修改文件时间
将文件时间修改为当前时间的前一年
删除文件