From: Steve Grubb <sgrubb@redhat.com>
To: "Harris, Todd" <brian.harris@progeny.net>
Cc: linux-audit@redhat.com
Subject: Re: user showing up as unset
Date: Fri, 13 May 2011 08:21:33 -0400 [thread overview]
Message-ID: <201105130821.34218.sgrubb@redhat.com> (raw)
In-Reply-To: <4D8348804BD0AE4EB58593EA9539CFF5A19352@es-22b.manassas.progeny.net>
On Thursday, May 12, 2011 03:07:17 PM Harris, Todd wrote:
> Last question on this topic I promise.
> The program is one that I have very limited control over, and it's
> started by the inittab. It is starting an xterm with "xterm -c su -
> username". Other than adding the loginuid to the su pam stack is there
> any simple way to get the loginuid set to username?
You should have the source code to xterm. You can change it. Its only 3 lines of code
assuming you already did the username lookup. fopen, fwrite, fclose. Aside from that,
you could add pam_loginuid to su's pam settings. But then you have an admin problem if
they ever use it. So, you might want to forbid admins from using it in the pam
settings also. Procedurally, they could use sudo.
-Steve
prev parent reply other threads:[~2011-05-13 12:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-09 19:47 user showing up as unset Harris, Todd
2011-05-11 14:37 ` Steve Grubb
2011-05-12 18:24 ` Harris, Todd
2011-05-12 18:30 ` Steve Grubb
2011-05-12 19:07 ` Harris, Todd
2011-05-13 12:21 ` 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=201105130821.34218.sgrubb@redhat.com \
--to=sgrubb@redhat.com \
--cc=brian.harris@progeny.net \
--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