Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!rpi!bu.edu!att!pacbell.com!ucsd!ucbvax!IFI.UIO.NO!ingea From: ingea@IFI.UIO.NO (Inge Arnesen) Newsgroups: comp.unix.sysv386 Subject: SCO UNIX and setuid(2) Message-ID: Date: 6 Dec 90 13:20:56 GMT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 14 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@ifi.uio.no } ========================================================================= == Inge Arnesen, University of Oslo, Norway. == == ==