FAQ
Hi!
On 22 Apr 1999, Bjoern Giesler wrote:
is it possible to have a Python script run setuid? If so, how do I do
that?
Having setuid script is big security issues. Most modern operating
systems do not allow to do this. Perl has special provisions for making
perl scripts setuid. In python please avoid it. Write setuid wrapper for
your script. Standard python distribution has a file Misc/setuid-prog.c. It
is a template for writing good setuid wrappers.
Or could that be a Linux problem?
It is OS-specific. Yes, Linux (thanks a lot) is among other OSes that
disable setuid scripts.
TIA,
--Bjoern
--
thank you for your time, worship the antichrist, and have a nice day /\
+---------------------------------------------------------------------/()\
pgp key available on request /____\
Oleg.
----
Oleg Broytmann National Research Surgery Centre http://sun.med.ru/~phd/
Programmers don't die, they just GOSUB without RETURN.

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 2 | next ›
Discussion Overview
grouppython-list @
categoriespython
postedApr 22, '99 at 11:24a
activeApr 22, '99 at 11:37a
posts2
users2
websitepython.org

2 users in discussion

Bjoern Giesler: 1 post Oleg Broytmann: 1 post

People

Translate

site design / logo © 2021 Grokbase