Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!ub!canisius!pavlov From: pavlov@canisius.UUCP (Greg Pavlov) Newsgroups: comp.unix.xenix.sco Subject: Re: whoami? Message-ID: <3109@canisius.UUCP> Date: 4 Jan 91 04:12:16 GMT References: <6624@crash.cts.com> <1991Jan1.183022.12539@sceard.Sceard.COM> Organization: Canisius College, Buffalo N.Y. 14208 Lines: 14 In article <1991Jan1.183022.12539@sceard.Sceard.COM>, mrm@sceard.Sceard.COM (M.R.Murphy) 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 :-) Depending on which manual you have: these are not the same. "whoami" returns the effective user id, not the login id. greg pavlov, fstrf, amherst, ny