All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: automount
@ 2004-02-03 22:55 Jason Brooks
  0 siblings, 0 replies; 6+ messages in thread
From: Jason Brooks @ 2004-02-03 22:55 UTC (permalink / raw)
  To: Ian Kent, Jörg Fichter; +Cc: autofs

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
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread
* automount
@ 2004-02-02 19:49 Jörg Fichter
  2004-02-03 12:41 ` automount Ian Kent
  2004-02-03 12:43 ` automount Ian Kent
  0 siblings, 2 replies; 6+ messages in thread
From: Jörg Fichter @ 2004-02-02 19:49 UTC (permalink / raw)
  To: autofs

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

But all user who were logged in and automount a filesystem, will always have 
the username like 700 and the groupname like 500 on this mount point.

How can I modify auto.master and auto.misc to get the right username and 
groupname for each logged user?

Thanks for your help.

Sincerely

Jörg Fichter

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Automount
@ 2002-06-11  5:36 Robert Todd
  2002-06-12 15:37 ` Automount Petre Bandac
  0 siblings, 1 reply; 6+ messages in thread
From: Robert Todd @ 2002-06-11  5:36 UTC (permalink / raw)
  To: linux-newbie

Originally to: All

Hey folks!  My first post to the echo so here goes...

Is it just me or did they put automount "back into" Mandrake 8.2 by
default?  I know 8.1 had it disabled by default.

... EMail: wolf@bbs.linux-dude.com -OR- wolf@todd.bungi.com
<-> Gateway Information.
This message originated from a Fidonet System (http://www.fidonet.org)
and was gated at TCOB1 (http://www.tcob1.net)
Please do not respond direct to this message but via the list


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-02-03 22:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-03 22:55 automount Jason Brooks
  -- 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

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.