Re: mount: only root can do that
- From: decrepit <""mikelayzell\"@netscape .net">
- Date: Wed, 08 Feb 2006 19:54:15 +0800
I'm no expert, but I know if you set up /etc/fstab with the mount
details, it can be invoked at user level.
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: [kde-linux] Connecting to a samba share at startup
... On starting kontact I got an access denied, ... In konqueror I saw my borg home directory listed. ... Still more weird - I now have an icon for the networked folder. ... mount it on your machine. ... (KDE) - Re: Partitioning scheme for file/mail server
... > I do symlinking here. ... Time to repost my /home hack, I think, even though it's incomplete and a bit ... the same home directory can't be exported by more than one machine at ... The missing piece in all this is that of course you can't mount -o bg ... (uk.comp.os.linux) - Re: [kde-linux] Connecting to a samba share at startup
... During kde startup I was told that access was ... In konqueror I saw my borg home directory listed. ... mount point had disappeared. ... What is really puzzling me is that I get a desktop icon for the remote home ... (KDE) - Re: moving /home
... should look in $HOME, or in /etc/passwd, or similar to find your home directory. ... If you didn't want to preserve this, you could simply mount /dev/sde1 *anywhere*, and use useradd to modify your account preferences, and be done. ... Create a partition on your new disc, which may be the whole disc, ... /homesave or whatever, create an empty directory /home, and edit ... (Fedora) - Re: Problem with smb shares.
... Are these shares going to be the users home directories? ... could be problems with some programs that assume the home directory ... Is there any chance that you can mount this share somewhere like ... James Wilkinson ... (Fedora) |
|