Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!newstop!jaytee!bodleian!geoff From: geoff@bodleian.East.Sun.COM (Geoff Arnold @ Sun BOS - R.H. coast near the top) Newsgroups: comp.protocols.nfs Subject: Re: pcnfsd : which uid to run under ? Message-ID: <3256@jaytee.East.Sun.COM> Date: 9 Nov 90 14:10:04 GMT References: <1962@tuvie> Sender: news@East.Sun.COM Reply-To: geoff@east.sun.com (Geoff Arnold @ Sun BOS - R.H. coast near the top) Organization: Sun Microsystems PC-NFS Engineering Lines: 19 Quoth chytil@vlsivie.tuwien.ac.at (Chytil Georg) (in <1962@tuvie>): # #Dear netters, # #since I'm a little bit unfamiliar with the hidden secrets of rpc-calls #I'd like to avoid running pcnfsd under root's uid. Will it loose any #functionality when running under user.none (right - this is Domain/OS ) ? PCNFSD invokes setreuid() and setregid() in order to make sure that any print files are owned by the correct user, and (depending on how your spooler works - I don't know DOMAIN/OS) have the correct banner on them. I assume that you need what X/Open calls "appropriate privileges" to execute these calls. This usually means running as root. -- Geoff Arnold, PC-NFS architect, Sun Microsystems. (geoff@East.Sun.COM) -- *** "Now is no time to speculate or hypothecate, but rather a time *** *** for action, or at least not a time to rule it out, though not *** *** necessarily a time to rule it in, either." - George Bush ***