On Tue, 18 Nov 2003 23:50:41 +0100, Brian Ipsen
<[EMAIL PROTECTED]> wrote:

> Doing a 'ls -l' on the CGI-dir gives me:
> 
> -rws--s--x    1 root     root        14623 Jun  4 01:22 tmda.cgi

See the first "s" in place of where the "x" usually is?  That means
run as user root (the file's owner).  See the second "s"?  That means
run as group root (the file's group).

Once the Python code is running as root, it can change to other users.

Your wrapper would just have to have the first "s" and be owned by the
user you want to run the program.

Gre7g.
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to