LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   common /home dir on server (https://www.linuxquestions.org/questions/linux-networking-3/common-home-dir-on-server-201099/)

spooge 07-04-2004 03:43 PM

common /home dir on server
 
i'd like to setup my /home dir's on my server.
all i'm asking is a lil guidence.
i'm thinkin i need nis, ybind up and running
already have nfs up.

thanks

acid_kewpie 07-04-2004 03:53 PM

all you need is NFS for sharing a home... the more involved processes that would use NIS etc... would be for having one single point of user ID, but if this is just a home thing, i'd strongly suggest just starting out with manual replication. as long as you have matching usernames and uid/gid's on all clients then you'll be set to go once mounted. move over to NIC as and when you want something to learn, you can survive just fine without for a small lan.

spooge 07-04-2004 05:05 PM

thanks acid,

the main purpose would be mail, game, and a few worth saving files.

is a symlink suitable

oops i better check my spelling in the subject next post

acid_kewpie 07-04-2004 05:14 PM

symlink? symlink what?

personally i have a seperate /home on each machine, and only share out specific things such as /var/mail, /var/www etc.. on my server. if you do use full on systems on different distro's on each machine you mind find some thigns conflist, so that's somethign to watch for.

hazza96 07-04-2004 08:05 PM

Use NIS and NFS
 
I export my /home and use NIS as well. On my workstations I NFS mount /home and setup NIS to get it's login information from the same server.

Some claim that NIS is hard to setup, it was very simple to do using Webmin.

Just be aware that NFS is not secure at all. As an example:
1. The server has a dir called /secretstuff
2. The server has a group called 'squirell' with a GID of 152.
3. The server NFS exports /secretstuff
4. The workstation mounts it.
5. On the workstation is a group called 'thief' with a GID 152.
6. The workstation will allow anyone in the 'thief' group access to the files.


All times are GMT -5. The time now is 09:09 AM.