[Novalug] Tell the user that su'd
Richard Rognlie
rrognlie@gamerz.net
Tue Jan 14 10:21:04 EST 2014
Check the userid of the tty they are on...
# ls -la `tty`
On Tue, Jan 14, 2014 at 10:13:41AM -0500, shawn wilson wrote:
> How do I tell the original user that su'd? I was thinking I could
> export a variable or climb the process tree, but was wondering if
> there was some built-in for doing this?
> _______________________________________________
> Novalug mailing list
> Novalug@calypso.tux.org
> http://calypso.tux.org/mailman/listinfo/novalug
--
/ \__ | Richard Rognlie / Scality CSE / Gamerz.NET Lackey
\__/ \ | http://www.gamerz.net/~rrognlie <rrognlie at gamerz.net>
/ \__/ | Creator of pbmserv@gamerz.net
\__/ | Helping reduce world productivity since 1994
More information about the Novalug
mailing list