SCO UNIX and setuid(2)

Inge Arnesen ingea at IFI.UIO.NO
Fri Dec 7 00:20:56 AEST 1990


SCO UNIX SysV/386 3.2 has introduced login UID (LUID) as account
identification. Once set, it cannot be changed (with setuid(2)). Is it
possible to have  a daemon running as root with the LUID not set and to set
the LUID from a forked child ?

The problem is that a daemon needing root privilages cannot execute commands
like system("lp -dprinter /tmp/test") on behalf of another user, since lp
uses the LUID to identify the user and LUID cannot be changed.....


Inge (BoB)  { ingea at ifi.uio.no }
=========================================================================
==   Inge Arnesen, University of Oslo, Norway.                         ==
==                                                                     ==



More information about the Comp.unix.sysv386 mailing list