[Python-Dev] Pondering some changes to python.c...

Fredrik Lundh fredrik@pythonware.com
Sun, 7 Apr 2002 13:38:05 +0200

Sean wrote:
> The other thing I've been thinking of is a SUID python.  I recently needed
> to make some code which ran SUID (so it could write files into a mail
> queue with the right ownership, no matter if it was coming in from the
> network or a local user).  I ended up making my own copy of python.c which
> did the appropriate thing.  However, it would seem like something that
> there should probably be an "official" one...

see /Misc/setuid-prog.c