RE: [RH List] RE: Separate shell and www servers...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> >Right.. that's what I was thinking as well.  Well, if you want them on
> >separate servers more because of a resource issue than any other
> issue (like
> >security) then why don't you set it up similar to what you did
> with mail and
> >use links?
> >
>     Because I didn't use links.  User INBOXes all reside in the same
> location: /var/mail/$USER and there's nothing else I have to do there.
> I don't need any symlinks to point anywhere from there.  Their own local
> folders sit in their personal mail folder /home/$USER/mail/, just their
> INBOX sits elsewhere.
>

Sorry for the confusion .

on your webserver, create all your user accounts in /home/www
e.g. userA and userB
/home/www/userA
/home/www/userB

on your shellserver you have
/home/userA
/home/userB

now create a mount point /home/www

mount webserver:/home/www shellserver:/home/www

on shell server:
ln -s /home/userA/www /home/www/userA

And that should do what you're looking for with only one mount point
(wwwserver:/home/www mounted on shellserver:/home/www)

Whenever you create a new account, in your adduser script add the command to
create a link

Hopefully that helps, sorry for the confusion

Ben





-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux