automount
Hello,
You could instead use sudo to unmount the filesystems as necessary. An entry in the sudoers file such as:
<useralias> <hostalias> = <password options>:/bin/umount -t nfs /misc/*
Will allow the users in question to run:
sudo /bin/umount -t nfs /misc/tempfs
And of course, it will fail if the filesystem's in use.
In my mind, this may be a better place to implement commands requiring root.
--jason
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jason Brooks ~ (503) 641-3440 x1861
Direct ~ (503) 924-1861
Email to: [email protected]
Twiki: http://twiki.wrs.com/do/view/Main/JasonBrooks
Senior Systems Administration Analyst
Wind River Systems
8905 SW Nimbus ~ Suite 255
Beaverton, Or 97008
Quoted 31 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Ian Kent
Sent: Tuesday, February 03, 2004 4:41 AM
To: Jörg Fichter
Cc: [email protected]
Subject: Re: [autofs] automountQuoted 3 lines · On Mon, 2 Feb 2004, [iso-8859-1] Jörg Fichter wrote:
Dear Sirs,
I've installed the automount system on my PC. Different
user works on
Quoted 3 lines
this terminal! So I modified the auto.master file like this:
/misc
/etc/auto.miscuser, exec, uid=700, gid=500Can't at the moment.
The user option is only supported by mount when present in the fstab.
I posted a message to the util-linux list but haven't followed up on this. I've been to busy.
Ian
_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs