public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
From: Bill Tangren <bjt@aa.usno.navy.mil>
Cc: linux-audit@redhat.com
Subject: Re: rotating audit logs
Date: Tue, 13 Feb 2007 11:16:55 -0500	[thread overview]
Message-ID: <45D1E477.3090304@aa.usno.navy.mil> (raw)
In-Reply-To: <200702131037.33592.sgrubb@redhat.com>

Steve Grubb wrote:
> On Tuesday 13 February 2007 10:31, Bill Tangren wrote:
>> Is is possible to have the auditd daemon rotate the logs according to time,
>> rather than size?
> 
> There is a log rotation script suitable for cron usage in the audit package. 
> You just simply need to add it to your cron setup.

OK, I've found the auditd.cron file. How do I prevent auditd from rotating by 
size? Set the maximum size too high to be reached in a day?

> 
>> If auditd cannot do this, is it possible to turn off log rotating and let
>> the logrotate daemon do it?
> 
> You could do that too, but you'll have to teach logrotate about the audit 
> logs.

I've taught logrotate about other logs, so I don't see that as a problem. How to 
tell auditd not to rotate, though, that I DON'T know how to do.


> 
> -Steve
> 

  reply	other threads:[~2007-02-13 16:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-13 15:31 rotating audit logs Bill Tangren
2007-02-13 15:37 ` Steve Grubb
2007-02-13 16:16   ` Bill Tangren [this message]
2007-02-13 16:37     ` Steve Grubb

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45D1E477.3090304@aa.usno.navy.mil \
    --to=bjt@aa.usno.navy.mil \
    --cc=linux-audit@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox