LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-15-2003, 09:52 AM   #1
GATTACA
Member
 
Registered: Feb 2002
Location: USA
Distribution: Fedora, CENTOS
Posts: 209

Rep: Reputation: 32
remap? user ids?


Hello.

I'm trying to connect via NFS to my company's server (they're running Redhat 9.0). I'm trying to connect using my laptop running MacOS X. Unfortunately this doesn't seem to be working. The problem, as far as I can tell, is that my laptop user id (uid) is different from my uid on the server.

My IT people tell me that the 'best' solution is for me to create a new user account on my laptop with a uid that matches the one they have for me on the server and then transfer all of my work to this new user account. I'm trying to avoid this approach.

Is there anyway to make the server 'think' my laptop uid is the same as the one it already has for me?

All help is appreciated.
Thanks.
 
Old 10-15-2003, 11:13 AM   #2
usernamenumber
Member
 
Registered: Sep 2003
Location: Somerville, MA
Distribution: Fedora/RHEL currently. Red Hat, Slackware, Debian, SuSe and Mandrake at other times
Posts: 104

Rep: Reputation: 15
The closest thing to what you describe is the all_squash and anonuid arguments in the server's /etc/exports file. However, this is only for causing the server to "squash" ALL connections to the shared device down to a specific user id (anonuid) so if the share is for use by more than one user, it's no good. Other than that I can't think of anything that would allow the client to trick the server.
 
Old 10-15-2003, 11:16 AM   #3
GATTACA
Member
 
Registered: Feb 2002
Location: USA
Distribution: Fedora, CENTOS
Posts: 209

Original Poster
Rep: Reputation: 32
Yeah, I was afraid of that.

Thanks for your help though.
 
Old 10-15-2003, 01:15 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
You should just be able to rename your current UID then as root - recursively chown your userfiles to that new id.
 
  


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
Use of LOGNAME for non-unique user ids Geoff_Hawke Linux - Newbie 1 10-13-2005 12:37 AM
Linux User IDs ? xwastedmindx Linux - General 2 11-12-2003 07:52 PM
user and group ids - individual permissions? LooseCanon Linux - General 2 09-14-2003 12:57 PM
Changing User IDs (UID) totalcommand Linux - Newbie 5 06-06-2003 06:47 PM
User IDs confuse me. davee Linux - Newbie 1 02-11-2003 05:42 AM

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

All times are GMT -5. The time now is 03:50 PM.

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