[Fedora] Re: Separate shell and www servers...
Ashley M. Kirchner
ashley at pcraft.com
Tue Aug 17 15:18:31 UTC 2004
David L Norris wrote:
>For example, one web host I use does this:
> /usr/home - Home
> /usr/www - Web (Apache DocumentRoot)
> /usr/boxes - Mailboxes
>
>So, user "bob" would have these directories:
> /usr/home/bob
> /usr/www/bob
> /usr/boxes/bob
>
>
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.
More information about the users
mailing list