nfs questions!!!

David G. Miller dave at davenjudy.org
Tue Aug 1 13:12:08 UTC 2006


 Tim <ignored_mailbox at yahoo.com.au> wrote: 

> On Mon, 2006-07-31 at 13:48 -0400, Thom Paine wrote:
>
>>> Do you have a user with the same name and password on both hosts?
>>    
>>
>
>That's not how NFS works.  You need to have the same user ID
>(numerical), and that's it.  The local box associates a user name and
>password with local users.
>
>i.e. user 500 is use 500 on both boxes (unless you remap user IDs across
>NFS).  It doesn't matter whether use 500 is john on one and fred on the
>other.  And the passwords aren't compared, either.
>
>If you've set boxes up so that you end up being user 500 on one of them,
>but 501 on another, you're different users on both.  You've either got
>to do some user ID remapping between boxes through NFS (I've no advice
>on how to do that to give you), or you change users on one of the boxes
>to match.
>
Actually, the preferred solution is to use NIS and have a single login 
to network resources.  Using NIS allows the UIDs and GIDs to be 
administered on a single box.  That being said, its somewhat overkill 
for home users and just making sure the UIDs and GIDs are the same on a 
couple of boxes isn't all that bad.

Cheers,
Dave

-- 
Politics, n. Strife of interests masquerading as a contest of principles.
-- Ambrose Bierce




More information about the fedora-list mailing list