IBM Support

NFS mount to nobody : nobody

Question & Answer


Question

NFS nobody problem Both (NFS server/client) are on Solaris 10 drwx-----x 5 nobody nobody 512 Jun 25 16:04 userA

Cause

The NFS client does not have any user account. So that the UID and GID are re-mapped to nobody as above.

Answer

NFS uses the UID and GID, and the mapping to the username and groupname is done locally
on each client. As far as the files being owned by nobody, this is most likely due to the files being
created on the client by the root user and the server did not give that client NFS root access to the directory in question. When the
root user from and NFS client touches or creates a file under an NFS mounted directory, the user is treated as nobody from the server side.
Unless you give NFS root access to the clients hostname. If you want to give NFS root access to the client.
.
vi /etc/exports

example

/tmp -vers=3,sec=sys,rw,root=<client-hostname>
.
exportfs -a
.
Unmount and remount the client. Now when root touches a file, it will
be owned by root instead of nobody

[{"Product":{"code":"SSGU8G","label":"Informix Servers"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"--","Platform":[{"code":"PF027","label":"Solaris"}],"Version":"11.5;11.7;12.1","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
16 June 2018

UID

swg21681387