Re: NFS mount by non-root

2007-04-30 Thread Benoit Myard
On 29/04/07, Douglas Maus [EMAIL PROTECTED] wrote: Is it possible for users (non-root) to mount NFS exports? Well, on Linux, and depending on the amount of regular users who should be able to mount their private shares, you could add a line to your fstab (I think this is the 'users' or 'user

Re: NFS mount by non-root

2007-04-30 Thread Lars Hansson
Benoit Myard wrote: By the way, is anyone aware of the reason why this option is not present in OpenBSD's mount [2] (technical, security) ? man sysctl, man mount. Look for usermount. No idea if that works for NFS though. --- Lars Hansson

Re: NFS mount by non-root

2007-04-26 Thread Tor Houghton
On Thu, Apr 26, 2007 at 03:33:47AM +, Douglas Maus wrote: Is it possible for users (non-root) to mount NFS exports? I seem to be able to mount_nfs using sudo, but not as a regular user. I actually want to allow regular users to mount the NFS share from another machine/OS (MacOSX

Re: NFS mount by non-root

2007-04-26 Thread Joachim Schipper
On Thu, Apr 26, 2007 at 12:54:18PM +0200, Tor Houghton wrote: On Thu, Apr 26, 2007 at 03:33:47AM +, Douglas Maus wrote: Is it possible for users (non-root) to mount NFS exports? I seem to be able to mount_nfs using sudo, but not as a regular user. I actually want to allow regular users

Re: NFS mount by non-root

2007-04-26 Thread Ben Calvert
On Apr 25, 2007, at 8:33 PM, Douglas Maus wrote: Is it possible for users (non-root) to mount NFS exports? I seem to be able to mount_nfs using sudo, but not as a regular user. I actually want to allow regular users to mount the NFS share from another machine/OS (MacOSX), but since I couldn't

Re: NFS mount by non-root

2007-04-26 Thread L. V. Lammert
On Thu, 26 Apr 2007, Tor Houghton wrote: On Thu, Apr 26, 2007 at 03:33:47AM +, Douglas Maus wrote: Is it possible for users (non-root) to mount NFS exports? I seem to be able to mount_nfs using sudo, but not as a regular user. I actually want to allow regular users to mount the NFS

Re: NFS mount by non-root

2007-04-26 Thread Tobias Weingartner
In article [EMAIL PROTECTED], Douglas Maus wrote: Is it possible for users (non-root) to mount NFS exports? Mount, likely not, unless you do sudo. Have a look at nfsshell... -- [100~Plax]sb16i0A2172656B63616820636420726568746F6E61207473754A[dZ1!=b]salax

Re: NFS mount by non-root

2007-04-26 Thread Ted Unangst
On 4/25/07, Douglas Maus [EMAIL PROTECTED] wrote: $ mount_nfs 10.0.1.201:/home/usera/dir2share /home/usera/private/mnt fails with mount_nfs: bad MNT RPC: RPC: Authentication error; why = Client credential too weak mountd wants the request to come on a reserved port.

Re: NFS mount by non-root

2007-04-26 Thread Douglas Maus
On Thu, Apr 26, 2007 at 03:33:47AM +, Douglas Maus wrote: Is it possible for users (non-root) to mount NFS exports? Mike Erdely responded: From mount_nfs(8): HISTORY The -P flag historically informed the kernel to use a reserved port when communicating with clients

Re: NFS mount by non-root

2007-04-26 Thread Nick Guenther
On 4/26/07, Douglas Maus [EMAIL PROTECTED] wrote: On Thu, Apr 26, 2007 at 03:33:47AM +, Douglas Maus wrote: Is it possible for users (non-root) to mount NFS exports? Mike Erdely responded: From mount_nfs(8): HISTORY The -P flag historically informed the kernel to use a reserved

NFS mount by non-root

2007-04-25 Thread Douglas Maus
Is it possible for users (non-root) to mount NFS exports? I seem to be able to mount_nfs using sudo, but not as a regular user. I actually want to allow regular users to mount the NFS share from another machine/OS (MacOSX), but since I couldn't get a regular user to do the mount just on the local

Re: NFS mount by non-root

2007-04-25 Thread Mike Erdely
On Thu, Apr 26, 2007 at 03:33:47AM +, Douglas Maus wrote: Is it possible for users (non-root) to mount NFS exports? From mount_nfs(8): HISTORY The -P flag historically informed the kernel to use a reserved port when communicating with clients. In OpenBSD, a reserved port