public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
From: Miloslav Trmac <mitr@redhat.com>
To: "Koresh..." <koreshkumar@gmail.com>
Cc: linux-audit@redhat.com
Subject: Re: Help on Audit Rules
Date: Thu, 18 Oct 2012 07:29:05 -0400 (EDT)	[thread overview]
Message-ID: <828811055.16612275.1350559745320.JavaMail.root@redhat.com> (raw)
In-Reply-To: <CAJaYW4EAyXSpd4e-YzgZWH_eRdPVLcj1UjD3U6hU7DJM6hZjrg@mail.gmail.com>

----- Original Message ----- 
> So my question is why normal users audit event logs cant be captured
> as a "type=USER_TTY" , where as root logs can be captured
> similarway.
USER_TTY is sent by the process that accepts the keyboard input.  Unprivileged users are not allowed to send audit records (otherwise they would be able to fill the queue and/or the log partition, causing a DoS), so the USER_TTY record is discarded.

Even for unprivileged users you should have the type=TTY records, although they are noticeably more difficult to interpret.
   Mirek

  reply	other threads:[~2012-10-18 11:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-17  2:51 Help on Audit Rules Koresh...
2012-10-17 14:37 ` Peter Moody
2012-10-18  1:39   ` Koresh...
2012-10-18 11:29     ` Miloslav Trmac [this message]
2012-10-18 13:35       ` Koresh...
2012-10-18 15:33         ` Peter Moody
2012-10-18 15:35           ` Peter Moody
2012-10-18 15:50             ` Peter Moody
2012-10-18 17:02           ` 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=828811055.16612275.1350559745320.JavaMail.root@redhat.com \
    --to=mitr@redhat.com \
    --cc=koreshkumar@gmail.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