Sending a signal to a process started by another user

Joonas Paalasmaa joonas at olen.to
Wed Apr 10 05:38:01 EDT 2002


Oleg Broytmann <phd at phd.pp.ru> wrote in message news:<mailman.1018377258.31626.python-list at python.org>...
> On Tue, Apr 09, 2002 at 04:53:58PM +0000, Joonas Paalasmaa wrote:
> > How can I send a signal to a process started by another user. In this 
> > case my intention is to send a signal 14 to a process started by user jp 
> > from a cgi script. The script raises an "Operation not permitted"- 
> > OSError perhaps because the script is run by user "apache" and the 
> > process by user "jp". How can In make this work properly?
> 
>    Using some form of setuid programs.

Can you give me an example how to use setuid scripts with CGI and Python.



More information about the Python-list mailing list