NFS Mount as an ORDINARY USER
NFS Mount as an ORDINARY USER
Hi , Actually i want to do an NFS Mount as an ordinary user from one of the clients. In the /etc/exports file at the NFS Server i have the folllowing line. /home/u02024 *(rw,insecure,sync,insecure_locks,no_root_squash) When i run the following command from the client as root user , the NFS Mount is successful. mount -t nfs 192.168.0.7:/home/u02024 /home/localwork but when i try to run this command as an ordinary user, it says nfs bindresvport: Permission denied PLEASE HELP ME OUT!!!!!!!!!!!!!!!!!!!!!!!!:o |
Basically, as a user you can't mount things, because it is a security risk.
There are a few exceptions - smbmount can be run as a user (though not for nfs) - you can mount stuff that is in fstab (with options noauto, user), but then you need to be root to add stuff to fstab - You can temporarily become root using su or sudo or somesuch - You can make mount suid root (which is not good, security wise) Make your pick :) Groetjes, Kees-Jan |
All times are GMT -5. The time now is 10:50 AM. |