From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1FX0KR-0000i2-Cy for garchives@archives.gentoo.org; Fri, 21 Apr 2006 18:26:03 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.6/8.13.6) with SMTP id k3LIOCfp028844; Fri, 21 Apr 2006 18:24:12 GMT Received: from bullet.espersunited.com (adsl-64-149-52-102.dsl.tul2ok.sbcglobal.net [64.149.52.102]) by robin.gentoo.org (8.13.6/8.13.6) with ESMTP id k3LIJnVU024620 for ; Fri, 21 Apr 2006 18:19:49 GMT Received: from camille.espersunited.com ([192.168.1.1]) by bullet.espersunited.com (8.13.6/8.13.4) with ESMTP id k3LIJmnM000799 for ; Fri, 21 Apr 2006 13:19:48 -0500 Subject: [gentoo-user] Re: Way OT - Can user apache become other users? From: Michael Sullivan To: gentoo-user In-Reply-To: <1145021248.6797.13.camel@camille.espersunited.com> References: <1144985369.6797.6.camel@camille.espersunited.com> <1145021248.6797.13.camel@camille.espersunited.com> Content-Type: text/plain Date: Fri, 21 Apr 2006 13:19:48 -0500 Message-Id: <1145643588.17949.14.camel@camille.espersunited.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 3d879e2a-5424-4d4e-bb3f-c6d1abaabf98 X-Archives-Hash: 8bd12861e5a0c92e810447eb5dbc31cc On Fri, 2006-04-14 at 08:27 -0500, Michael Sullivan wrote: > On Thu, 2006-04-13 at 22:29 -0500, Michael Sullivan wrote: > > If the shell assigned to user 'apache' is "/bin/false", can user apache > > become other users via su or sudo? What I want to do is create a > > web-based website editor, similar to the one geocities.com offers. I > > need a way to store the website editor in a central location where it > > will be available to all users, but the users need to be able to save > > the files they create/edit in their own web space (in this case under > > ~/webspace/html). I want the users to be able to log in with their > > Linux usernames and passwords. I"ve written to a couple of PHP lists > > about this, but none of them have answered me. Is there anything in > > portage that will do this, so I don't have to write it myself? I've > > waded through a lot of descriptions of scripts other people have > > written, but none of them seemed to allow authenticating against the > > users and passwords already established on the system... > > Someone on one of my PHP lists wrote back and told me that I needed to > make php with phpsuexec, but I don't see that as one of the USE flags. > Is it called something else in Gentoo? I take it from the fact that no one has responded to this question that suexec is not possible in PHP on Gentoo. Is there some other language I can do this project in, such as perl or ruby, or anything freely available on Gentoo for that matter that would allow my users to use a web-based website editor and save the files to their own webspace? -- gentoo-user@gentoo.org mailing list