1 |
Hi all, |
2 |
|
3 |
I'd like to allow some users to umount any dir under certain path, but |
4 |
as man says: |
5 |
|
6 |
When you specify a directory in a Cmnd_List, the user will be able to |
7 |
run any file within that directory (but not in any subdirectories |
8 |
therein) |
9 |
|
10 |
so, If I'd like to allow certain user to run umount |
11 |
under /nfs/user_dir/, how may I do that with sudo? |
12 |
|
13 |
I tried: |
14 |
%user ALL= NOPASSWD: /bin/umount /nfs/user/* |
15 |
|
16 |
so, if he wants to umount /nfs/user/path_1/path_2/mount_point |
17 |
he could.. |
18 |
|
19 |
|
20 |
but it does not work. |
21 |
|
22 |
|
23 |
Any idea will be appreciated. |
24 |
|
25 |
Cheers, |
26 |
-- |
27 |
Arnau Bria |
28 |
http://blog.emergetux.net |
29 |
Bombing for peace is like fucking for virginity |