public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
From: Steve Grubb <sgrubb@redhat.com>
To: "Boyce, Kevin P (AS)" <Kevin.Boyce@ngc.com>
Cc: "linux-audit@redhat.com" <linux-audit@redhat.com>
Subject: Re: EXT :Re: RedHat 6 Testing
Date: Fri, 25 Mar 2011 17:38:21 -0400	[thread overview]
Message-ID: <201103251738.21527.sgrubb@redhat.com> (raw)
In-Reply-To: <5CB21FE316752445AF212D47C8BE56110A19C4B0@XMBVAG75.northgrum.com>

On Friday, March 25, 2011 02:53:34 pm Boyce, Kevin P (AS) wrote:
> The ausearch records root as the UID.
> 
> The cat command returns a UID of 1386 which is my ldap account UID.
> 
> Is there a way to prevent cron from inheriting my session (perhaps by
> removing the session line in /etc/pam.d/crond)?

If you restarted the daemon, then it literally inherited your credentials and 
environment. The fix for this is rebooting the machine. This only happens if you 
restart sshd, crond, gdm, kdm, xdm since sessions start with them.

-Steve

      reply	other threads:[~2011-03-25 21:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-25 14:55 RedHat 6 Testing Boyce, Kevin P (AS)
2011-03-25 15:32 ` Sean.Hollinger
2011-03-25 15:39   ` Boyce, Kevin P (AS)
2011-03-25 16:15 ` Steve Grubb
2011-03-25 18:53   ` EXT :Re: " Boyce, Kevin P (AS)
2011-03-25 21:38     ` 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=201103251738.21527.sgrubb@redhat.com \
    --to=sgrubb@redhat.com \
    --cc=Kevin.Boyce@ngc.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