NFS Security
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.
Still stuck? Maybe we can help. Contact us at Upwork
Never miss a thing subscribe to our newsletter
or follow us on twitter
For more super cool techie stuff check out our blog!!
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