![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mod_Jk Log rotation | new2learn09 | Web Programming, Web 2.0 and Mashups | 0 | 07-14-2009 03:26 PM |
| Log rotation script | theninja | Shell Programming and Scripting | 2 | 01-08-2009 01:30 PM |
| log rotation | mirusnet | Shell Programming and Scripting | 6 | 09-05-2008 03:06 AM |
| Log rotation on HP-UX | untamed | HP-UX | 3 | 10-01-2007 06:10 AM |
| What are tr.pid.rotation files? | zackz | UNIX for Advanced & Expert Users | 3 | 01-23-2007 05:13 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
audit.log file rotation
Hi guys,
I've googled this quite a bit, and tried searching on these forums, but haven't found a solution to my problem. I wanted to inquire about AIX's audit subsystem - more specifically, how to rotate its log file. So far I've been able to find how to rotate AIX syslog log files, and I found some cronlog info, but neither helps me with audit.log. Does AIX have a way of automatically rotating this file once it reaches a certain size? I really want to avoid having to write a script to monitor the files, rename them and restart audit, but I'll do it if it comes down to it. Any info will be greatly appreciated. Thanks in advance ![]() Pedro ps. in case it might help, this is my config: /etc/security/audit/config: Code:
start:
binmode = on
streammode = off
bin:
trail = /audit/trail
bin1 = /audit/bin1
bin2 = /audit/bin2
binsize = 4096
cmds = /etc/security/audit/bincmds
freespace = 65536
stream:
cmds = /etc/security/audit/streamcmds
Code:
/usr/sbin/auditcat -p -o $trail $bin /usr/sbin/auditpr -v < $trail > /audit/audit.log |
| Bookmarks |
| Tags |
| aix, audit, log rotation |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|