You are not logged in.

#1 2009-02-25 12:42:22

lardon
Member
Registered: 2008-05-31
Posts: 264
Website

non-root NFS access

Short question: Is there a way to access an nfs share on a machine B from a machine A on which you're not root?

Thanks a lot!


Autojump, the fastest way to navigate your filesystem from the command line!

Offline

#2 2009-02-25 13:47:53

INCSlayer
Member
From: Sweden
Registered: 2007-09-06
Posts: 296
Website

Re: non-root NFS access

this might help

If you decide to make your NFS share public and writable, you can use the all_squash option in combination with anonuid and the anongid option. For example, to set the privileges for the user nobody in the group nobody, you can do the following:

; Read-write access to a client on 192.168.0.100, with rw access for the user 99 with gid 99
/files 192.168.0.100(rw,sync,all_squash,anonuid=99,anongid=99))

taken from http://wiki.archlinux.org/index.php/Nfs


dovie andi se tovya sagain

Offline

#3 2009-02-26 09:02:08

lardon
Member
Registered: 2008-05-31
Posts: 264
Website

Re: non-root NFS access

That's not really the question. I don't have access to the nfs server either, I just know that with a machine on which I have root access on the same network (let's call it C), I can mount the nfs share. So there is no fundamental reason not to be able to access it from A, except that people usually use nfs by *mounting*, which is root only.


Autojump, the fastest way to navigate your filesystem from the command line!

Offline

Board footer

Powered by FluxBB