> Doug, I guess this is something that should be addressed as a
> Makefile.PL configuration parameter. I myself have encountered a few
> problems with the User/Group values picked by the build process in a
> complex NIS environment and have had to manually modify the httpd.conf
> used during the 'make start_httpd'. Having a way to provide your own
> choice of User/Group would be nice.

no more Makefile.PL parameters, there are far too many.  i wouldn't mind
adding something like this though..

--- Makefile.PL 2000/04/03 03:56:11     1.155
+++ Makefile.PL 2000/04/13 23:15:52
@@ -871,8 +871,10 @@
     #use only first value if $) contains more than one
     $gid =~ s/^(\d+).*$/$1/;
 
-    $User  = $Is_Win32 ? "nobody" : (getpwuid($uid) || "#$uid");
-    $Group = $Is_Win32 ? "nogroup" : (getgrgid($gid) || "#$gid");
+    $User  = $Is_Win32 ? "nobody" : 
+      $ENV{APACHE_USER} || (getpwuid($uid) || "#$uid");
+    $Group = $Is_Win32 ? "nogroup" : 
+      $ENV{APACHE_GROUP} || (getgrgid($gid) || "#$gid");
 
     if($User eq "root") {
        my $other = (getpwnam('nobody'))[0];


Reply via email to