Mount an NFS share with a different username

Joined
Oct 6, 2012
Messages
6
Reaction score
0
Points
1
Hey guys,

I just started using Mountain Lion and I'm trying to mount an NFS share via the command line. I've done it successfully with:

mount -t nfs servername:/vol/NFSshare /Users/me/Desktop/NFS

but when I go to it, it won't let me copy anything because it's trying to do this as my account and that doesn't have permissions on this share.

In linux I would use something like:

mount -t nfs /server/share /mnt/share -o username=root

and then it would prompt me for a password for the root user but in Mac OSX that switch is just for options so how can I get it to mount that NFS share as another user besides the one I'm logged in as??
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top