httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (Rob Hartill)
Subject suexec modification (fwd)
Date Fri, 03 Jan 1997 03:33:28 GMT

not acked

----- Forwarded message from Curtis Wilbar -----

From: Curtis Wilbar <>
Date: Thu, 2 Jan 1997 20:43:25 -0500 (EST)
Message-Id: <>
Subject: suexec modification

I recently sent mail with a modifcation of suexec to allow it to compile
and run under SunOS, and Solaris.

I mentioned another modification that I was working on.  I have briefly
tested this, and it seems to work.

I figure that if this is a capability that I wanted here, there must be
others who would desire this capability as well.

This mod may have been more appropriate in the server code, but it was
50/50, and easier to implement and test separately in the suexec code.

Here's the summary of the new capability....

if compiled with -DRUNASOWN, then suexec will run the cgi as the owner and
group of the cgi program being called.  The group ownership of the file
must match the group the user belongs to in the password file.  The
directory the cgi is in must match owner/group of the cgi program as well.
The existing checks for setuid and directory writability by others is
retained as well.

This also contains my setenv function call (as SunOS and Solaris do not have
this system call).  -DNOSETENV is required to enable my write of the setenv
function (which uses putenv as the actual system call).

Please give me feedback as to wether or not these changes are:

1. desirable
2. addressed to the wrong people (should I be using an addr other then


-- Curt

Curtis H. Wilbar Jr.
Chief Technology Officer
The Internet Connection, Inc.

----- End of forwarded message from Curtis Wilbar -----

Rob Hartill.       Internet Movie Database Ltd.  

View raw message