cuserid sometimes lies!!

Randolph J. Herber, CD/DCD/SP, x2966 HERBER at FNALA.FNAL.GOV
Thu Feb 21 05:19:44 AEST 1991


cuserid(3) uses getlogin(3).  getlogin(3) uses /etc/utmp to determine
userid from control terminal of process.  This can be confused by several
causes.  The /etc/utmp file may be damaged.  The control terminal may belong
to another user.  The process may not have a control terminal.

Randy Herber, herber at fnalf.fnal.gov



More information about the Comp.sys.sgi mailing list