image
image

Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
Thread Tools
  #1  
Old June 6th, 2002, 05:23 AM
Registered User
 
Join Date: Apr 2001
Location: behind the screen
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
popey.marin is on a distinguished road
authentification for NFS mounts

Hello

I have set my os x box to mount 3 shares from an NFS server. It works great, and preformances a far higher than with appleTalk. But since I don't log on the server, but on my local machine, I can't have the owner's privilege ...
Is there a way to force mac os x to send a specific login/password that would be store in the keychain for example ?

Thank you for your attention
Reply With Quote
  #2  
Old June 6th, 2002, 04:30 PM
blb blb is offline
`'
 
Join Date: Apr 2001
Location: CO, USA
Posts: 651
Thanks: 0
Thanked 0 Times in 0 Posts
blb is on a distinguished road
Ownership of files over NFS is going to be determined by the uid which owns them on the server (not the username). So if they are owned by uid 500 on the server, and your user on your OS X machine is uid 501, then obviously you won't own them (use id in Terminal to see your uid).

Your two choices are to make sure the group owner of those files is a gid of which you're a member and that group has write access to everything, or to change ownership on the NFS server to the uid you have on your OS X machine.
Reply With Quote
  #3  
Old June 6th, 2002, 05:33 PM
Defender of the Realm
 
Join Date: Jun 2001
Location: nyc
Posts: 129
Thanks: 0
Thanked 0 Times in 0 Posts
alexrd is on a distinguished road
This is actually something that pisses me off about OSX. In other BSDs, you can have a "mapall" directive in your /etc/exports, so that all remote users are mapped to a certain UID on the server (this is very similar to the "maproot" option, which OSX does have). This is the right way to solve the problem, but I haven't found a way to replicate it in OSX (FWIW, other UNICES like IRIX also lack this option, so at least OSX isn't alone...)

...that wasn't helpful, but it annoyed me too, so I had to say something...

-alex.
__________________
Beige G3 desktop w/500MHz G4 ZIF
768 MB RAM, PCI Radeon & USB/Firewire
-
TiBook 550MHz 256MB DVD
-
Mac OS X 10.2.4(6I32) on each.
----
PIII500/128MB workhorse running NetBSD 1.6
----
All sorts of Suns and SGIs running all sorts of UNIXy OSes...
Reply With Quote
  #4  
Old June 23rd, 2002, 10:44 PM
Registered User
 
Join Date: Dec 2000
Location: PA or MD, USA
Posts: 722
Thanks: 0
Thanked 0 Times in 0 Posts
theed is on a distinguished road
mapall

well, I'm just trying to figure ou nfs, which is how I wound up here, but the mapall thingy is listed in man exports

Is it not functional?

And if anyone would care to help me, how do I share and mount via nfs, especially if I don't want to reboot the machine? Is there a command line equivalent to /etc/exports ?
__________________
- Beware the wrath of my apathy.
Reply With Quote
Reply

Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Run a script when my iPod mounts? michaelsanford Mac OS X System & Mac Software 2 November 5th, 2003 12:33 PM
access privelages on nfs mounts Shambo Networking & Compatibility 1 March 4th, 2003 09:48 AM
Sharing NFS mounts CaptainFoo Mac OS X System & Mac Software 3 November 9th, 2001 04:37 AM


All times are GMT -5. The time now is 03:25 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.