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: auid?
Date: Tue, 29 Oct 2013 16:00:15 -0400	[thread overview]
Message-ID: <5241210.1FcFVX5v78@x2> (raw)
In-Reply-To: <CACv9p5oGe55qY4hsLcEA+ewY+XMAYacRoGZE8HVcsp-BhiboZA@mail.gmail.com>

On Tuesday, October 29, 2013 03:39:35 PM leam hall wrote:
> I'm trying to find a definition of "auid", besides "audit UID". If user Joe
> with UID 1814 logs in and sudo to application account "british" which has a
> UID of 1776, is the auid of Joe's action 1814 or 1776? If someone does an
> "su -" to root, is their auid 0?

auid is also known as the loginuid. its the account that you enter the system 
with. Since root is a shared accound amongst admins, you should also forbid 
logging in under root. The auid should never change during the life of your 
session. Which brings up another point. At login, you also get a session id 
(ses) which is also inherited by all processes in your session. This allows 
the audit system to disambiguate the actions of two simultaneous logins to the 
same account.

-Steve

      parent reply	other threads:[~2013-10-29 20:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-29 19:39 auid? leam hall
     [not found] ` <40AC52966168B9469F326C66724C5E652E6118FA@D2ASEPREA009.DSA.DHS>
2013-10-29 19:52   ` auid? leam hall
2013-10-29 20:00 ` 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=5241210.1FcFVX5v78@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