l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2003 Mar 02 17:55

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] NFS and user IDs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] NFS and user IDs

On Sunday 02 March 2003 09:20 am, Rod Roark wrote:
> Anyone know if there's a way to map user IDs (other than
> root) across NFS?
> I.e., user "rod" on the client machine has ID 1000, but on
> the NFS server is 500, and I'd like general access to my
> home directory from the client.

The simplest solution is to use the same UID when you configure
the 2nd machine.  For a small network, it is generally not hard to change
the UID's to match--but you need to find a few odds-and-ends
(e.g., /var/spool/mail).  There was a recent thread on vox-tech about 
the dual problem of changing username.  It's an easy mistake, on a small
network, to end up with machines having different UID's--it's not
something one usually thinks about on a small network.

The more general solution is to run NIS.  Then you don't have
a UID hard-coded on a machine, you get it from the NIS server.
It's not hard to get NIS running for a small network, but there's
a little bit of a learning curve.  You would still need to "retro-fit"
your filesystems to get all the UID's to match-up.

The question you are asking is if the NFS server will re-map UID's
for you.  The answer is "maybe."  It does not do general re-mapping
of the sort you are asking about (e.g., using rules like "if a request
comes from UID X treat this as UID Y"--at least, I don't think so).  
However, you *might* be able to make use of the ability of the NFS 
server to re-map the anonymous uid.  *maybe*  I think that's opening 
a big can of worms--for security, maintenance, etc.

I suggest doing the small amount of work to get the UID's to match up.


> TIA,
> -- Rod
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech

vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!