Tim ignored_mailbox@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
hi david...
thanks for the reply.. your answer confirmed what i had started to think about. and yeah, you're right regarding only a few boxes for a home use.. however, i'm probably going to have 10-15 boxes running this app... but if the issue really boils down to the user/group id then i could essentially create a user with the same uid/gid on all boxes, or i could simply only allow files to be created and added to the nfs share by the machine that created the share...
this whole process is for use in a Condor system, where each node will be performing some of the distributed applications.
thanks
-bruce
-----Original Message----- From: fedora-list-bounces@redhat.com [mailto:fedora-list-bounces@redhat.com]On Behalf Of David G. Miller Sent: Tuesday, August 01, 2006 6:12 AM To: fedora-list@redhat.com Subject: Re: nfs questions!!!
Tim ignored_mailbox@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
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list