* [gentoo-user] sudoers syntax questions
@ 2009-05-22 9:12 Arnau Bria
2009-05-22 17:40 ` Dirk Heinrichs
0 siblings, 1 reply; 2+ messages in thread
From: Arnau Bria @ 2009-05-22 9:12 UTC (permalink / raw
To: gentoo-user
Hi all,
I'd like to allow some users to umount any dir under certain path, but
as man says:
When you specify a directory in a Cmnd_List, the user will be able to
run any file within that directory (but not in any subdirectories
therein)
so, If I'd like to allow certain user to run umount
under /nfs/user_dir/, how may I do that with sudo?
I tried:
%user ALL= NOPASSWD: /bin/umount /nfs/user/*
so, if he wants to umount /nfs/user/path_1/path_2/mount_point
he could..
but it does not work.
Any idea will be appreciated.
Cheers,
--
Arnau Bria
http://blog.emergetux.net
Bombing for peace is like fucking for virginity
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-user] sudoers syntax questions
2009-05-22 9:12 [gentoo-user] sudoers syntax questions Arnau Bria
@ 2009-05-22 17:40 ` Dirk Heinrichs
0 siblings, 0 replies; 2+ messages in thread
From: Dirk Heinrichs @ 2009-05-22 17:40 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 230 bytes --]
Am Freitag, 22. Mai 2009 11:12:12 schrieb Arnau Bria:
> I'd like to allow some users to umount any dir under certain path, but
> as man says:
>
> Any idea will be appreciated.
Use the kernel automounter (autofs).
Bye...
Dirk
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 190 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-05-22 17:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-22 9:12 [gentoo-user] sudoers syntax questions Arnau Bria
2009-05-22 17:40 ` Dirk Heinrichs
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox