NFS Client - nobody group

Posted on 2011-05-11
Last Modified: 2012-05-11

I have a Linux server which is configured as a NFS server. I am using NFS4 to export /home to a client server. I am able to succesfully mount exported /home as /home_new on my client NFS server. But here is the Issue

ON NFS Server :
$ cd /home
$ ls -l |grep proftp
drwxrwx---  5 proftp                      proftp                      106496 May 11 07:21 proftp

ON NFS Client :
$ cd /home_new
$ ls -l |grep proftp
drwxrwx---  5 proftp                      nobody                      106496 May 11 07:21 proftp

I have all the directories groups exported as "nobody". This is only one of the directories but I have almost 70 of them. So what configurations changes I missed.

Also /etc/exports on my NFS Server are
# cat /etc/exports
/exports        *(rw,sync,insecure,root_squash,no_subtree_check,fsid=0)
/exports/home   *(rw,nohide,sync,insecure,no_root_squash,no_subtree_check)

Also I have the same /home exported as /home_new on another NFS client and I am able to see proper permissions. So there is something on this particular NFS client that needs to be tweeked


Question by:mnis2008
    LVL 9

    Expert Comment

    Get the GIDs for proftp on the server and nobody on the client and they are likely the same number.

    grep proftp /etc/group

    Open in new window

    Should end up with something like (your GID will vary)


    I'm not real clear on the problem this is causing and what you are trying to get to...  on the client do you want the group for /home_new/proftp to read "proftp"?

    LVL 31

    Expert Comment

    Could you show
    cat /etc/idmapd.conf

    Author Comment

    # cat /etc/idmapd.conf

    Verbosity = 0
    Pipefs-Directory = /var/lib/nfs/rpc_pipefs
    Domain = localdomain


    Nobody-User = nobody
    Nobody-Group = nobody

    Method = nsswitch
    LVL 31

    Accepted Solution

    Make sure your mapping entries on the servers are identical to those of clients.


    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Join & Write a Comment

    In this tutorial I will explain how to make squid prevent malwares in five easy steps: Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-…
    Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
    This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now