mount: only root can do that



Hi,
In my RHEL 4 system, I want to give a normal user permission
so that he/she can mount a nfs partition in one of his directories
inside his home directory.

I tried with SUDO like this:

user1 ALL=/bin/mount /user1/home/mnt ,/bin/umount /user1/home/mnt

I checked /sbin/mount and found it "-rwsr-sr-x".

But when the user1 logs in and try to execute

mount -t nfs xx.xx.xx.xx:/mnt/inst mnt

he gets "mount: only root can do that".

where m I wrong in setting this up ? please guide. thanks

baruah

.



Relevant Pages

  • Re: mount: only root can do that
    ... I want to give a normal user permission to mount a nfs partition ... but where do you think the chaos came from?" ...
    (comp.os.linux.networking)
  • Problem mounting some nfs-devices on FC6
    ... I mount some nfs shares from ... All Solaris 10 shares work fine, but RHEL ... I used to run FC5 before I installed FC6 and I could mount them all, ...
    (Fedora)
  • Re: re-export a nfs directory.
    ... I did not realize that RHEL was crap. ... Can't say, if Debian and, or some other distro can re-export and NFS ... mount/*bind* that mount point where you mounted NFS share to say ...
    (comp.os.linux.misc)
  • mount: only root can do that
    ... I want to give a normal user permission to mount a nfs partition ...
    (comp.os.linux.networking)
  • Re: What Size Partitions for XP and Linux?
    ... mount: /usr is busy ... RHEL 3 system. ... Alexander Skwar ...
    (comp.os.linux.misc)