[comp.unix.questions] cuserid under X

darcy@druid.uucp (D'Arcy J.M. Cain) (11/09/90)

I have just noticed that a program I wrote which calls cuserid(3) tells
me that I am root when run under X-Windows.  The man page doesn't give
any caveats so I assume that X is somehow confusing it.  Does someone
who understands the connection here have a suggestion or is there some
problem in my X implementation.

System is ESIX 3.2 Rel. D on a 386 running X11R3.  Thanks for any help.

-- 
D'Arcy J.M. Cain (darcy@druid)     |
D'Arcy Cain Consulting             |   I support gun control.
West Hill, Ontario, Canada         |   Let's start with the government!
+ 416 281 6094                     |