Root on one server should not necessarily have root access on another box, therefore, by default the root userid is mapped to userid nobody in NFS.

 nobody UID -2 GID -2 (or 65534 65534 for unixes that don't allow negative numbers)

If this is not the desired behaviour, set up /etc/exports as follows:

/home/work -root=host1

This allows server host1 normal root behaviour on /home/work . (Instead of a hostname, a netgroup can be specified).

To disable suid on NFS mounted filesystems:

host1:/usr/local/bin /usr/local/bin nfs ro,nosuid 0 0

the following:/home/work -anon=100 means, instead of using nobody, use UID 100.

Recent Changes

Contribute to this wiki

Why not help others by sharing your knowledge? Contribute something to this wiki and join out hall of fame!
Contact us for a user name and password