Gentoo Archives: gentoo-user

From: Michael Sullivan <michael@××××××××××××.com>
To: gentoo-user <gentoo-user@l.g.o>
Subject: [gentoo-user] OT - unusual USE flag possibilities [WAS: Re: Way OT - Can user apache become other users?]
Date: Fri, 21 Apr 2006 20:16:24
Message-Id: 1145650276.17949.19.camel@camille.espersunited.com
In Reply to: [gentoo-user] Re: Way OT - Can user apache become other users? by Michael Sullivan
1 On Fri, 2006-04-21 at 13:19 -0500, Michael Sullivan wrote:
2 > On Fri, 2006-04-14 at 08:27 -0500, Michael Sullivan wrote:
3 > > On Thu, 2006-04-13 at 22:29 -0500, Michael Sullivan wrote:
4 > > > If the shell assigned to user 'apache' is "/bin/false", can user apache
5 > > > become other users via su or sudo? What I want to do is create a
6 > > > web-based website editor, similar to the one geocities.com offers. I
7 > > > need a way to store the website editor in a central location where it
8 > > > will be available to all users, but the users need to be able to save
9 > > > the files they create/edit in their own web space (in this case under
10 > > > ~/webspace/html). I want the users to be able to log in with their
11 > > > Linux usernames and passwords. I"ve written to a couple of PHP lists
12 > > > about this, but none of them have answered me. Is there anything in
13 > > > portage that will do this, so I don't have to write it myself? I've
14 > > > waded through a lot of descriptions of scripts other people have
15 > > > written, but none of them seemed to allow authenticating against the
16 > > > users and passwords already established on the system...
17 > >
18 > > Someone on one of my PHP lists wrote back and told me that I needed to
19 > > make php with phpsuexec, but I don't see that as one of the USE flags.
20 > > Is it called something else in Gentoo?
21 >
22 > I take it from the fact that no one has responded to this question that
23 > suexec is not possible in PHP on Gentoo. Is there some other language I
24 > can do this project in, such as perl or ruby, or anything freely
25 > available on Gentoo for that matter that would allow my users to use a
26 > web-based website editor and save the files to their own webspace?
27
28 I found www-apache/mod_suphp, which seems to be what I need. It has
29 several USE flags which I am unfamiliar with, such as mode-force,
30 mode-owner, mode-paranoid, etc. Is there a way that I could find out
31 what these flags mean? They are not
32 in /usr/portage/profiles/use.desc...
33
34 --
35 gentoo-user@g.o mailing list

Replies