LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-20-2010, 07:21 PM   #16
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682

You can list files in your home directory: "ls -n"
You can use the `id' command: id <username>
You can use `getent passwd <username>' to print out your entry in /etc/passwd.
 
Old 02-20-2010, 08:41 PM   #17
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
Quote:
Originally Posted by tron_thomas View Post
I used the same account name on all my systems. I don't know that they all have the same user and group identifier. I forget how to check that. I suspect there may be some differences.
yeah username is just the "human readable"...it's the uid/gid that counts....

use

Code:
getent passwd username
To get the uid/gid

-C
 
Old 02-21-2010, 10:47 AM   #18
tron_thomas
Member
 
Registered: May 2004
Posts: 221

Original Poster
Rep: Reputation: 30
I used the id command on different systems and verified that the user identifier was not the same.
 
Old 02-21-2010, 05:09 PM   #19
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
Quote:
Originally Posted by tron_thomas View Post
I used the id command on different systems and verified that the user identifier was not the same.
I know NFS is tricky when it comes to the permissions...you should change the UID on one of the systems to match the other...

Do it on the Linux side since it will probably be easier...

-C
 
Old 02-21-2010, 07:15 PM   #20
tron_thomas
Member
 
Registered: May 2004
Posts: 221

Original Poster
Rep: Reputation: 30
What exactly is involved in changing the user identifier?
 
Old 03-03-2010, 03:25 PM   #21
ximo
LQ Newbie
 
Registered: Mar 2010
Posts: 2

Rep: Reputation: 0
Lightbulb

You don't want to change UIDs and GUIDs, trust me

I don't know if your OS supports this, but on Mac OS X 10.6 one can add a -mapall option to each export in /etc/exports in order to map the connecting client to a specified user on the host.

For example (in /etc/exports):
/path/to/shared/folder 192.168.1.14 -mapall=john

From "man exports":
Quote:
If a -mapall option is given, all users (including root) will be mapped to that credential in place of their own.
There's also a -maproot option if you only want root to get this behaviour.

See this blog post for a more detailed example:
http://www.macresearch.org/nfs-exports-leopard
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh: connect to host .....No route to host soumyacs Linux - Newbie 5 10-27-2009 10:03 AM
telnetd xinetd fedora - no route to host a_arthur Linux - Networking 4 10-07-2009 06:02 AM
Fedora Core 8 : Telnet Problem: No route to host keen4linux Linux - Networking 1 04-25-2008 06:55 AM
no route to host PenguinHead Linux - Networking 9 02-02-2005 02:03 PM
Need help setting up vsftd on Fedora (no route to host) Arodef Linux - Networking 3 08-24-2004 03:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration