You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Shane De Jager <sd...@intergage.co.uk> on 2005/07/22 13:59:57 UTC

set the UIDs and GIDs in Mod_Perl 2

Hi

I am in the process of moving to mod perl from CGI. Under modCGI i could set UIDs and GID with suExec. Is this possible with mod_perl2? If so, how is it done?

-- 
Shane De Jager
Technical Developer

INTERGAGE
High-performance, updateable Web sites

Switchboard   +44(0)845 456 1022
Direct Dial      +44(0)1202 688 219
==
www.intergage.co.uk
sdejager@intergage.co.uk

Are you aware of our referral scheme? Learn how you could profit personally from passing us leads.

Click here to pass a referral: www.intergage.co.uk/referrals

Re: set the UIDs and GIDs in Mod_Perl 2

Posted by Stas Bekman <st...@stason.org>.
Shane De Jager wrote:
> Hi
> 
> I am in the process of moving to mod perl from CGI. Under modCGI i could set UIDs and GID with suExec. Is this possible with mod_perl2? If so, how is it done?

Not at the moment, Shane.
http://perl.apache.org/docs/1.0/guide/install.html#Is_it_possible_to_run_mod_perl_enabled_Apache_as_suExec_

This may change in the future if perchild or metux MPM will be released. 
This will allow to have groups of processes/threads running under a given 
uid/gid, which may or may not suit your needs (e.g. it probably won't 
scale well if you have hundreds of users you want to 'suexec' to).


-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com