suid Python script

Carsten Schultz carsten at gnocchi.dialup.fu-berlin.de
Sun Aug 24 20:09:37 CEST 2003


Hi,

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?

Thanks,

Carsten

-- 
Carsten Schultz (2:40, 33:47), FB Mathematik, FU Berlin
http://carsten.fu-mathe-team.de/
PGP/GPG key on the pgp.net key servers, 
fingerprint on my home page.




More information about the Python-list mailing list