Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 91824 invoked from network); 4 Sep 2005 03:42:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Sep 2005 03:42:14 -0000 Received: (qmail 36439 invoked by uid 500); 4 Sep 2005 03:42:06 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 36274 invoked by uid 500); 4 Sep 2005 03:42:05 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 36261 invoked by uid 99); 4 Sep 2005 03:42:05 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Sep 2005 20:42:05 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [68.230.241.28] (HELO fed1rmmtao11.cox.net) (68.230.241.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Sep 2005 20:42:16 -0700 Received: from [127.0.0.1] (really [68.3.180.238]) by fed1rmmtao11.cox.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20050904034200.WJAV17436.fed1rmmtao11.cox.net@[127.0.0.1]> for ; Sat, 3 Sep 2005 23:42:00 -0400 Message-ID: <431A6CEE.6070905@hostinthebox.net> Date: Sat, 03 Sep 2005 21:41:34 -0600 From: Dan Trainor Reply-To: info@hostinthebox.net Organization: hostinthebox.net User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: users@httpd.apache.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Running as authenicated user? X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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: > //www.uvm.edu/opensource/?Page=procbuilder.html) 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 -dant --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org