NFS mount question

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: W. E. Brooks
Date:  
Subject: NFS mount question
Sundar:

There is a UID and GID mapping. One method is to use the map_static
option if it is available in the version of NFS that you are running.

If UID/GID equal to 500 on server and UID/GID equal to 512 on client,
make the following NFS config changes on the server:

In /etc/exports, insert the map_static option for the directory you want
to share:

/shared-directory my.client.machine(rw,map_static=/etc/nfs/client.map)


In /etc/nfs/client.map put these 2 lines:

uid     512      500
gid     512      500



After changing /etc/exports execute
exportfs -r
to cause NFS to use the changes.


Best Wishes,
W. E. Brooks
www.webknowledge.com
---------------------------------------------------------------------
On Monday, 24 Feb 2003, Sundar wrote:
>From: "Sundar" <>
>To: <>
>Subject: Re: NFS mount question
>Date: Mon, 24 Feb 2003 19:18:56 -0700
>Reply-To:
>
>Nope. Isn't there a UID mapping or something?
>
>Sundar