All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jason Brooks <jason.brooks@windriver.com>
To: "Ian Kent" <raven@themaw.net>, "Jörg Fichter" <Joerg.Fichter@gmx.de>
Cc: autofs@linux.kernel.org
Subject: RE: automount
Date: Tue, 03 Feb 2004 14:55:55 -0800	[thread overview]
Message-ID: <402026FB.7080509@windriver.com> (raw)

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: jason.brooks@windriver.com
Twiki: http://twiki.wrs.com/do/view/Main/JasonBrooks

Senior Systems Administration Analyst
Wind River Systems
8905 SW Nimbus ~ Suite 255	
Beaverton, Or 97008


> -----Original Message-----
> From: autofs-bounces@linux.kernel.org 
> [mailto:autofs-bounces@linux.kernel.org] On Behalf Of Ian Kent
> Sent: Tuesday, February 03, 2004 4:41 AM
> To: Jörg Fichter
> Cc: autofs@linux.kernel.org
> Subject: Re: [autofs] automount
> 
> 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 
> > this terminal! So I modified the auto.master file like this:
> > 
> > /misc	/etc/auto.misc		user, exec, uid=700, gid=500
> 
> Can'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
> autofs@linux.kernel.org
> http://linux.kernel.org/mailman/listinfo/autofs
> 

             reply	other threads:[~2004-02-03 22:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-03 22:55 Jason Brooks [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-02-02 19:49 automount Jörg Fichter
2004-02-03 12:41 ` automount Ian Kent
2004-02-03 12:43 ` automount Ian Kent
2002-06-11  5:36 Automount Robert Todd
2002-06-12 15:37 ` Automount Petre Bandac

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=402026FB.7080509@windriver.com \
    --to=jason.brooks@windriver.com \
    --cc=Joerg.Fichter@gmx.de \
    --cc=autofs@linux.kernel.org \
    --cc=raven@themaw.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.