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: audisp-prelude login question
Date: Thu, 30 Oct 2008 06:34:15 -0400	[thread overview]
Message-ID: <200810300634.15594.sgrubb@redhat.com> (raw)
In-Reply-To: <1225333698.9388.287.camel@homeserver>

On Wednesday 29 October 2008 22:28:18 LC Bruzenak wrote:
> If so, what is LOGIN?

This is the record emitted by the kernel to say that the user's loginuid has 
changed. This would mean that pam_loginuid was run. But the event is being 
sent by the kernel, not pam.

> I guess I can go look at the code and find out...but I guess that one isn't
> being grabbed inside the audisp-prelude handle_event() routine.

Because that is not an event of interest in prelide right now.


> If this is the case either the sending code could be made to match (I
> guess pam isn't doing it the same way in each) or else the
> audisp-prelude could be changed to send this one too?

Nope...somewhere the pam originating events are being eaten. You might strace 
an xdm login and look for some sendto's followed immediately by recvfrom's to 
the audit socket. If they are missing entirely, then xdm is not calling pam. 
If they are there, we'd want to look at the return code to see if its having 
an error. Is xdm running as root at the point pam is called? Are there 
selinux rules? Are there dontaudit rules eating this?

-Steve

  parent reply	other threads:[~2008-10-30 10:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-30  2:28 audisp-prelude login question LC Bruzenak
2008-10-30  3:27 ` LC Bruzenak
2008-10-30 10:34 ` Steve Grubb [this message]
2008-10-30 12:46   ` LC Bruzenak
2008-10-30 14:29     ` LC Bruzenak
2008-10-30 18:07       ` 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=200810300634.15594.sgrubb@redhat.com \
    --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