You are viewing a plain text version of this content. The canonical link for it is here.
Posted to test-dev@httpd.apache.org by Geoffrey Young <ge...@modperlcookbook.org> on 2003/05/15 14:52:07 UTC
running tests as root
hi all...
I'm actually in the situation where I need to run Apache with 'User root'
(yes, I know, I know...)
anyway, I'd like to write tests for that situation, but
TestConfig::default_user() won't let me run tests as root and setting User
in extra.conf.in (so that there are two User settings) doesn't seem to
effect Apache in 1.3.
is there a particular reason this restriction is coded in such a way that
I can't get around it, no matter what, if I _want_ to run Apache as root?
--Geoff
Re: running tests as root
Posted by Stas Bekman <st...@stason.org>.
Geoffrey Young wrote:
>
>
> Geoffrey Young wrote:
>
>> hi all...
>>
>> I'm actually in the situation where I need to run Apache with 'User
>> root' (yes, I know, I know...)
>
>
> ok, I did some digging and now I see some of the issues.
>
> anyway, I was able to override a few subroutines locally and get my
> stuff to work, so it's no biggie.
>
> sorry for the noise :)
If we get more than one request for that feature, we can always add a flag to
override this override ;)
__________________________________________________________________
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
Re: running tests as root
Posted by Geoffrey Young <ge...@modperlcookbook.org>.
Geoffrey Young wrote:
> hi all...
>
> I'm actually in the situation where I need to run Apache with 'User
> root' (yes, I know, I know...)
ok, I did some digging and now I see some of the issues.
anyway, I was able to override a few subroutines locally and get my stuff to
work, so it's no biggie.
sorry for the noise :)
--Geoff