public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
From: Steve Grubb <sgrubb@redhat.com>
To: Eric Paris <eparis@redhat.com>
Cc: linux-audit@redhat.com, Robert Evans <bob.evans@jhuapl.edu>
Subject: Re: Confused about audit=1 in grub.conf
Date: Fri, 29 Oct 2010 12:20:24 -0400	[thread overview]
Message-ID: <201010291220.24597.sgrubb@redhat.com> (raw)
In-Reply-To: <1288311702.3017.12.camel@localhost.localdomain>

On Thursday, October 28, 2010 08:21:42 pm Eric Paris wrote:
> On Thu, 2010-10-28 at 16:22 -0400, Steve Grubb wrote:
> > You needed to add audit=1 to the kernel line ^^^ so that its passed to
> > the kernel.
> 
> Steve's right, but the answer to your question is "because that has
> nothing to do with audit=1."  auid's = -1 just mean that the process was
> not started by a logged in user.  They were likely started by init.

That is true when you have audit=1 being passed to the kernel correctly. 
However, if you do not do that. You sometimes run into problems with gdm 
because of parallel booting. Its possible (even required an entry in the FAQ 
because it was happening that often - see #8) to get auid of -1 when logging 
in via gdm.

So, if you have audit=1 and pam_loginuid is in the correct places and you 
still get auid=-1, that is because its a daemon or program running that is not 
associated with a user session.

-Steve

      reply	other threads:[~2010-10-29 16:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-28 19:40 Confused about audit=1 in grub.conf Robert Evans
2010-10-28 20:22 ` Steve Grubb
2010-10-29  0:21   ` Eric Paris
2010-10-29 16:20     ` Steve Grubb [this message]

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=201010291220.24597.sgrubb@redhat.com \
    --to=sgrubb@redhat.com \
    --cc=bob.evans@jhuapl.edu \
    --cc=eparis@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