Beta Shell
v2.0 ยท web2.us.cloudlogin.co
[FM]
[CMD]
[PHP]
[DB]
[INFO]
[SEC]
File Manager
~
/
usr
/
share
/
doc
/
audit
Upload
5 items
Name
Size
Perms
Modified
Actions
[ .. / .. ]
ChangeLog
13.39 KB
-rw-r--r--
2023-08-06 20:38:56
Edit
Del
README
4.84 KB
-rw-r--r--
2023-08-06 20:38:56
Edit
Del
auditd.cron
330 B
-rw-r--r--
2023-08-06 20:38:56
Edit
Del
Editing: auditd.cron
(330 B)
Path: /usr/share/doc/audit/auditd.cron
Back
#!/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