httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Trainor <>
Subject Re: [users@httpd] Running as authenicated user?
Date Sun, 04 Sep 2005 03:41:34 GMT
Benjamin Donnachie wrote:
> I hope I'm asking this in the right area...  I've searched the apache docs
> with no luck so far...
> My server runs procmail as the mail delivery agent and ideally I would like
> to use procbuilder (http:
> // as a frontend to allow
> users to easily edit 
> their own procmail rules over the web.
> This means that procbuilder needs to access the authenticated user's
> .procmailrc file in their home 
> directory.  Apache correctly won't run the cgi script as root and procmail
> completely ignores the 
> .procmailrc file if it's not solely owned by the current user and only
> accessible by them - thus 
> ruling out groups.
> Apart from setting up procbuilder for each user individually - is there a
> way to set it up centrally 
> and allow it to access the home directory for the currently authenticated
> user?
> Many thanks,

Benjamin -

How dfficult would it be to make a script in PHP or a cgi to sudo to 
root and run this single command, which would run procbuilder?  I don't 
think you're going to find exactly what you're looking for with Apache.

Hope that helps

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message