cancel
Showing results for 
Search instead for 
Did you mean: 
spurs
Flight Engineer
Flight Engineer
  • 530 Views

nfs questions

Hello guys, I've been studying nfs.

I'm a bit confused now because of user home directory mapping.

if the server exports [/home client(rw)] in the /etc/exports

the UIDs and names of server and client should be the same? 

and I was curious if a client-side has a conf file with server:/home/&, can client see every user's data in the server side?

 

*Lastly, I would like to ask if it's okay using /auto.misc file (indirect autofs) as it is easier way than direct autofs

1 Reply
Fran_Garcia
Starfighter Starfighter
Starfighter
  • 504 Views

"""if the server exports [/home client(rw)] in the /etc/exports , the UIDs and names of server and client should be the same?"""

It depends. In older implementations of NFSv3 not using idmapd daemon, then yes. UID/GID reservations across different systems had to be the same. If you are using idmapd daemon, then no. The symbolic name is used and different uids/gids can be used on the server and clients.

 

"""and I was curious if a client-side has a conf file with server:/home/&, can client see every user's data in the server side?"""

It depends if you are using root_squash (default), or no_root_squash file options. At any rathe, for NFS you should trust your client admins, as they can see anything being shared to them.

Join the discussion
You must log in to join this conversation.