[mod_python] user privilege

Nick nick at dd.revealed.net
Wed Jan 26 10:14:57 EST 2005


It's also possible in apache 1.3 (and experimentally in 2.0 using 
mpm_perchild) to have a different user and group per virtual server, which 
you may run on different ports and tie together with mod_rewrite or some 
such thing.

Nick

Gregory (Grisha) Trubetskoy wrote:
> 
> On Wed, 26 Jan 2005, Lionel Roubeyrie wrote:
> 
>> Hi all,
>> Is it possible to execute some mod_python codes by another user than the
>> default apache user?
> 
> 
> You can write a suid wrapper which you'd call from mod_python. Or 
> another way to do this is via the sudo command.
> 
> Grisha
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python



More information about the Mod_python mailing list