| Server IP : 108.174.197.172 / Your IP : 216.73.217.162 Web Server : nginx/1.14.1 System : Linux hwsrv-1092325.hostwindsdns.com 4.18.0-553.5.1.el8.x86_64 #1 SMP Tue May 21 05:46:01 UTC 2024 x86_64 User : nginx ( 993) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/share/doc/audit/ |
Upload File : |
#!/bin/sh
##########
# This script can be installed to the cron system to get log rotation
# based on time instead of log size.
##########
/sbin/auditctl --signal usr1
EXITVALUE=$?
if [ $EXITVALUE != 0 ]; then
/usr/bin/logger -t auditd "ALERT auditctl exited abnormally with [$EXITVALUE] while rotating the logs"
fi
exit 0