[comp.protocols.nfs] pcnfsd : which uid to run under ?

chytil@tuvie (Inst.f.Techn.Informatik) (11/09/90)

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 ) ?

BTW, the recent posting of pcnfsd has expired before I felt the need to 
save it ( actually I didn't read this group before two weeks ago ).
Could some kind soul point me to an archive where it's kept ?

					Thanx, bye
						
						Georg

-- 
<------------Golden apples of the sun, silver apples of the moon-------------->
Chytil Georg Systemdamager@Dep. of VLSI (vlsivie)   TU Wien A-1040 Wien Austria
chytil@vlsivie.{tuwien.ac.at,uucp}  chytil@egh780.una.at  +43/(0)222/58801/8146
#include <extra_disclaimer.h>         Don't panic!       Fax: +43/(0)222/569697

geoff@bodleian.East.Sun.COM (Geoff Arnold @ Sun BOS - R.H. coast near the top) (11/09/90)

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       ***