[sudo-users] Odd behaviour with filename wildcards

- - cbyhyh at yahoo.com
Mon Nov 29 06:50:41 EST 2004

--- "Todd C. Miller" <Todd.Miller at courtesan.com>
> However, if all you want to do is to allow a user
> access to any
> program in the directory /my/path, you should use
> "/my/path/" in
> sudoers instead of "/my/path/*".  Sudo has builtin
> support for
> allowing all commands in a directory without the
> need for wildcards.

Thanks. That works fine.

On a related note, is there any likelyhood of full
regular expressions being supported for restricting
the use of command line options? The current '*' gives
some degree of control but can make it difficult if
you need to restrict very specific combinations of
command line options and arguments.

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

More information about the sudo-users mailing list