sun/unix/c problem

Clay Johnson clay at titan.tsd.arlut.utexas.edu
Wed Oct 10 14:05:54 AEST 1990


Once a program that executes in set-user ID mode has changed its
effective uid to the real uid, how can it change it back?  

setreuid(2) (sun 4.0 documentation) says that this can be done by
restoring the saved set-user ID from execve(2), but execve(2) does not
explain how to do it.

Thank you.



More information about the Comp.unix mailing list