Re: Run script as root from WebServer

2008-09-23 Thread Saša Stupar
Hi, I'm using mod_python3 and apache22 to create some scripts and access them through a web interface. The problem is that some of these scripts deal with configuration files and some other tasks that require root privileges. In the past, I've solved this issue by using sudo and

Re: Run script as root from WebServer

2008-09-23 Thread Matias Surdi
Bill Campbell escribió: On Tue, Sep 23, 2008, Mel wrote: On Monday 22 September 2008 22:51:26 Matias Surdi wrote: The problem is that some of these scripts deal with configuration files and some other tasks that require root privileges. There's 2 alternatives I have used: 1) If the

Re: Run script as root from WebServer

2008-09-22 Thread Christopher Cowart
Matias Surdi wrote: I'm using mod_python3 and apache22 to create some scripts and access them through a web interface. The problem is that some of these scripts deal with configuration files and some other tasks that require root privileges. In the past, I've solved this issue by using

Re: Run script as root from WebServer

2008-09-22 Thread Mel
On Monday 22 September 2008 22:51:26 Matias Surdi wrote: The problem is that some of these scripts deal with configuration files and some other tasks that require root privileges. There's 2 alternatives I have used: 1) If the configuration files allow 'includes', then include a file that is

Re: Run script as root from WebServer

2008-09-22 Thread Bill Campbell
On Tue, Sep 23, 2008, Mel wrote: On Monday 22 September 2008 22:51:26 Matias Surdi wrote: The problem is that some of these scripts deal with configuration files and some other tasks that require root privileges. There's 2 alternatives I have used: 1) If the configuration files allow