[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [Fedora] Re: Separate shell and www servers...
- From: Aaron Gaudio <prothonotar tarnation dyndns org>
- To: For users of Fedora Core releases <fedora-list redhat com>
- Subject: Re: [Fedora] Re: Separate shell and www servers...
- Date: Tue, 17 Aug 2004 15:06:52 -0400
On Tue, 2004-08-17 at 11:12 -0600, Rodolfo J. Paiz wrote:
> On Tue, 2004-08-17 at 09:18, Ashley M. Kirchner wrote:
> > However, how do you deal with automatic user creation, and assigning
> > permissions to, say /usr/www/bob? When you use useradd to add a new
> > user, it only assigns permissions to the $HOME directory. As far as I
> > can see, I'd have to manually go create /usr/www/bob, and chown it to
> > user bob.
> >
>
> You script it, that's how. Note that the following is "pseudo-code" and
> will need work, but it should give you a rough general idea.
>
Sorry, haven't been following the thread, but why would want normal
users to have write access within /usr/www? Wouldn't it be better to set
apache up to use $HOME/public_html (or whatever you like)? You can even
configure it so you don't need the ~ in the url (e.g. http://mybox/bob
instead of http://mybox/~bob), or if you want, you could probably set it
up to allow http://bob.mybox/. At any rate, allowing generic user write
access to /usr/www doesn't seem like a good idea to me. Just my $0.02.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]