Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

UNIX - Linux NFS Rights need Help

Status
Not open for further replies.

rudis

IS-IT--Management
Dec 19, 2001
59
DE
Hello, I am running a Suse Linux server and I want to set up a NFS Server for a few Unix machines. For the root account at the unix client it works fine but it doesn't work for other users who have no root rights.

I've used the no_root_squash and the rw option in the etc/export file. My folder rights are set to 774. If I set the rigts to 777 the user can access the folder. But I don't want to give the 777 rights.

I've also tried to set up the same user name and password on the unix and linux computer, which doesn't work too and ich don't want to usw NIS......

Any help would be very great! :)

thx
 
The username to uid mappings (the numbers after the username in the /etc/passwd file) have to be the same, not just the usernames. Are they?
 
Hi ericbrunson, the user and group on the unix machine is for example 201 and the group is 20. I tried to change it on the linux to this but the group 20 is also in use by another group. Should I try to change it on the unix?

Could there be a problem if I change the uid and groupid on the unix?
 
That definitely sounds like a problem. This is why NIS (blighted as it is) was invented; to keep uids and gids in synchronization among a group of servers.

Your best bet might be to find a big enough block of UIDs that is available on all the servers and move your users into that block everywhere. You just need to do a chown on the users' files after changing the UIDs to update them to the new.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top