Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!ucsd!nosc!crash!pnet01!jca From: jca@pnet01.cts.com (John C. Archambeau) Newsgroups: comp.unix.xenix.sco Subject: whoami? Message-ID: <6066@crash.cts.com> Date: 4 Dec 90 09:36:02 GMT Sender: root@crash.cts.com Organization: People-Net [pnet01], El Cajon CA Lines: 19 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@nosc.mil | EISA or MCA? ** INTERNET: jca@pnet01.cts.com | When will the bus wars end? ** UUCP : {nosc ucsd hplabs!hp-sdd}!crash!pnet01!jca **--------------------------------------------------------------------------* */