suid Python script

Carsten Schultz carsten at
Sun Aug 24 20:09:37 CEST 2003


I want to run a python script suid root.  I will use a C wrapper for
that, because Linux does not respect the suid bit on scripts.  But, is
it safe?  Do I have to take special precautions?  Do I have to wipe
the environment?  Will a user be able to use some kind of user
configuration to execute arbitrary python code as root?



Carsten Schultz (2:40, 33:47), FB Mathematik, FU Berlin
PGP/GPG key on the key servers, 
fingerprint on my home page.

More information about the Python-list mailing list