rdist/setreuid

Ron Stanonik stanonik at nprdc.navy.mil
Wed Mar 27 11:02:51 AEST 1991


We ran into a problem while trying to port rdist from 4.3bsd to sysVr3.
rdist uses setreuid to switch back and forth between root and the user,
but sysVr3 (and even sysVr4 apparently) only has setuid; ie, once
you're the user, there's no going back to root.  Are we overlooking
something?  It's particularly surprising that sysVr4 also seems to
have this limitation.

Is there anything comparable to rdist for sysVr[34]?

Thanks,

Ron Stanonik
stanonik at nprdc.navy.mil
ucsd!nprdc!stanonik



More information about the Comp.unix.programmer mailing list