LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   NFS user home directory (http://www.linuxquestions.org/questions/linux-networking-3/nfs-user-home-directory-856589/)

sassy2010 01-16-2011 01:09 AM

NFS user home directory
 
hi,

iam learning to setup a NFS server with fedora14. I have gone through couple of materials for this topic. I have a doubt. Say if i have user1 till user5 on my NFS server with their home directory under the /home and the /home directory is shared. If user1 logs into a client machine then will he be able to see home folders for the other users or just his own home folder. Because in the /etc/exports file there was an option saying "subtree" and according to my understanding this means that the subdirectories under /home will also be shared. Does that mean all the users should be able to see all other users home directory and its contents but not read/write?? Correct me if iam wrong. Thanks

acid_kewpie 01-16-2011 06:27 AM

Well he'll be able to see all of them, and that's fine. Being on NFS doesn't change the security model, as long as the UIDs and GID's of user accounts are the same on the NFS server and client, then it's just as if the users home directory was local in terms of security. This isn't really about NFS at all.

You can use NFS automount to dynamically mount individual users directories, but there's really not much need.


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