public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
From: Steve Grubb <sgrubb@redhat.com>
To: linux-audit@redhat.com
Subject: Re: Audit log file perms
Date: Thu, 01 Aug 2013 13:54:55 -0400	[thread overview]
Message-ID: <3326025.YjvI3teld1@x2> (raw)
In-Reply-To: <1E472A6E-B904-4709-916F-AB69A6B15B65@bambenekconsulting.com>

On Thursday, August 01, 2013 12:34:20 PM John Bambenek wrote:
> What controls that?

The audit daemon.

> I have noticed /var/log/audit directory changes to a
> default setting quickly and file rotation resets it as well.

It defaults to 0600 unless you have set something for log_group and in that 
case you get 0640. Rotation is done using the rename syscall, so no 
permissions should be changing. Logs are created as 0640 root, root. But get 
modified as the audit daemon gets more of its configuration parsed.

-Steve

  reply	other threads:[~2013-08-01 17:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-01 17:34 Audit log file perms John Bambenek
2013-08-01 17:54 ` Steve Grubb [this message]
2013-08-21 19:34   ` John C. A. Bambenek, GCIH, CISSP
2013-08-21 20:09     ` 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=3326025.YjvI3teld1@x2 \
    --to=sgrubb@redhat.com \
    --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