Python Forum
suid scripts in python? - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: General (https://python-forum.io/forum-1.html)
+--- Forum: News and Discussions (https://python-forum.io/forum-31.html)
+--- Thread: suid scripts in python? (/thread-21427.html)



suid scripts in python? - Skaperen - Sep-29-2019

i'm assuming a normal python engine is unsafe for running an suid script on a POSIX system. but maybe someone has a patch or wrapper that can make it safe? i'm trying to think through a front-end for that, now. i wonder what risks might still exist during the run of a script as root by a non-root user trying to execute his choice of code or commands with root privileges.