Linux-audit Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Steve Grubb <sgrubb@redhat.com>
To: linux-audit@redhat.com
Subject: Re: why auid always unset?
Date: Wed, 24 Jul 2013 09:53:29 -0400	[thread overview]
Message-ID: <2610529.tviNJx9dC0@x2> (raw)
In-Reply-To: <CAP6dAmcU8W_DHX9OkQPiVSZ3Y+rqZzcRLaGznuQawgxaHj8Asg@mail.gmail.com>

On Tuesday, July 23, 2013 03:49:31 PM zhu xiuming wrote:
> I read my audit logs.I always see lots of auid values are 4294967295. Even
> when I delete a file, the value is still 4294967295?

In a normal system, there will be some events with 4294967295. These should be 
daemons and system events. Anything caused by a user should have the auid set 
to their uid. This is done by pam_loginuid.

> I added pam_loginuid to  gdm, login, kdm, sshd, vsftpd. Howver, it is still
> the same value?
> I wonder what is wrong?

cat /proc/self/loginuid

If that shows the account you logged in with, its working. If not, then 
something is wrong with pam or the kernel.

-Steve

  parent reply	other threads:[~2013-07-24 13:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-23 22:49 why auid always unset? zhu xiuming
2013-07-23 23:37 ` zhu xiuming
2013-07-24 13:53 ` Steve Grubb [this message]
2013-07-25 22:35   ` zhu xiuming
2013-07-25 23:54     ` Steve Grubb
2013-07-25 23:58       ` zhu xiuming
2013-07-26 21:20         ` zhu xiuming

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=2610529.tviNJx9dC0@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