whoami?

W. Paul Zola paulz at sco.COM
Mon Dec 24 14:28:15 AEST 1990


In article <6066 at crash.cts.com> jca at pnet01.cts.com (John C. Archambeau) writes:
}Is there a version of the who command for Xenix that will give you your
}effective user id when presented with who am i?
}
[deleted]

I suggest you look at the id(C) command.  It might just do what you want.


	lanshark at p2 [~]
	[1]: id
	uid=666(paulz) gid=115(support)

	lanshark at p2 [~]
	[2]: su root
	Password:
	# id
	uid=0(root) gid=1(other)
	# exit

	lanshark at p2 [~]
	[3]:

Hope this helps.

-
Paul Zola			Software Support Engineer 
				paulz at sco.COM 
We only know in theory what we are doing.   - Kate Bush
    DISCLAIMER: I speak for myself, and not for SCO.



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