whoami?

John C. Archambeau jca at pnet01.cts.com
Fri Jan 4 03:36:40 AEST 1991


mrm at sceard.Sceard.COM (M.R.Murphy) writes:
>In article <6624 at crash.cts.com> jca at pnet01.cts.com (John C. Archambeau) writes:
>>
>>I want the equivalent of whoami on BSD/SunOS for SCO Xenix that will work on
>>both the Bourne and C Shells.
>You could always try 
>
> $ who am i
>
>like it says in the manual :-)

I don't know if you're being funny or not.  All who am i does is return your
entry in /etc/utmp.  This may not be your effective login user name.
Case and point, logging in and executing an su, effective login name being
root.

     // 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