Getting SuperUser Authority From Within Running Python Program
Nick Vargish
nav at adams.patriot.net
Sun Jan 26 23:01:29 EST 2003
Instead of setuid programs, which always make me nervous, be they
binary or scripted, what about setting up /etc/sudoers to allow just
the required functionality for the id that runs the python script?
Nick
--
# sigmask.py || version 0.2 || 2003-01-07 || Feed this to your Python.
print reduce(lambda x,y:x+chr(ord(y)-1),'Ojdl!Wbshjti!=obwAqbusjpu/ofu?','')
More information about the Python-list
mailing list