whoami?

John C. Archambeau jca at pnet01.cts.com
Tue Dec 4 20:36:02 AEST 1990


Is there a version of the who command for Xenix that will give you your
effective user id when presented with who am i?

Say I'm logged in as myself and do an su to become root.  Well, who am i
returns your line in the /etc/utmp file.  What I want is more along the lines
of who I am now.  Is there a version of who that does this?

 Thanks,

     // JCA

 /*
 **--------------------------------------------------------------------------*
 ** Flames  : /dev/null                     | What to buy?
 ** ARPANET : crash!pnet01!jca at nosc.mil     | EISA or MCA?
 ** INTERNET: jca at pnet01.cts.com            | When will the bus wars end?
 ** UUCP    : {nosc ucsd hplabs!hp-sdd}!crash!pnet01!jca
 **--------------------------------------------------------------------------*
 */



More information about the Comp.unix.xenix.sco mailing list