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 1FX23E-0001y9-Ad for garchives@archives.gentoo.org; Fri, 21 Apr 2006 20:16:24 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.6/8.13.6) with SMTP id k3LKFMAS030046; Fri, 21 Apr 2006 20:15:22 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 k3LKBJDL003104 for ; Fri, 21 Apr 2006 20:11:20 GMT Received: from camille.espersunited.com ([192.168.1.1]) by bullet.espersunited.com (8.13.6/8.13.4) with ESMTP id k3LKBIew005922 for ; Fri, 21 Apr 2006 15:11:19 -0500 Subject: [gentoo-user] OT - unusual USE flag possibilities [WAS: Re: Way OT - Can user apache become other users?] From: Michael Sullivan To: gentoo-user In-Reply-To: <1145643588.17949.14.camel@camille.espersunited.com> References: <1144985369.6797.6.camel@camille.espersunited.com> <1145021248.6797.13.camel@camille.espersunited.com> <1145643588.17949.14.camel@camille.espersunited.com> Content-Type: text/plain Date: Fri, 21 Apr 2006 15:11:16 -0500 Message-Id: <1145650276.17949.19.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: ef0d63de-7ab4-437e-a639-c4449c995b13 X-Archives-Hash: e583462d72c58107f3860a8db0ce43d8 On Fri, 2006-04-21 at 13:19 -0500, Michael Sullivan wrote: > 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? I found www-apache/mod_suphp, which seems to be what I need. It has several USE flags which I am unfamiliar with, such as mode-force, mode-owner, mode-paranoid, etc. Is there a way that I could find out what these flags mean? They are not in /usr/portage/profiles/use.desc... -- gentoo-user@gentoo.org mailing list