[sudo-users] Problem with shell wildcard
Paul Stepowski
p.stepowski at qut.edu.au
Wed Mar 7 02:28:29 EST 2007
Yeah, I'd thought of that. It gives the right functionality but it's too kludgy
for "Johnny User" to remember.
Thanks,
Paul
Matthew Hannigan wrote:
> On Wed, Mar 07, 2007 at 03:34:27PM +1000, Paul Stepowski wrote:
>> A fix might be to include a feature in sudo (disabled by default) to expand
>> wildcards in commands. Most shells expend "*" in the same way, so you wouldn't
>
> You can put something like
> sh -c 'ls /var/log/*'
> as the command in sudoers.
>
> It's a little fiddly to get right because sudo checks the string exactly.
>
> att
>
>
More information about the sudo-users
mailing list