[sudo-users] sudo-1.6.9p17 - problem with wildcards
Matthew Hannigan
mlh at zip.com.au
Sun Feb 1 17:15:08 EST 2009
On Fri, Jan 30, 2009 at 02:44:21PM -0500, Julian Dunn wrote:
>
> Hi sudoers:
>
> I have the same problem as this individual:
>
> http://www.sudo.ws/mailman/htdig/sudo-users/2008-November/003814.html
>
> I'm on RedHat Enterprise Linux 5.3 and so I have sudo-1.6.9p17-3.el5
>
> I want to give myself the permission to run anything matching /etc/init.d/tomcat5-sb* without a password, so I have
>
> % sudo -l
> User jdunn may run the following commands on this host:
> (ALL) ALL
> (root) NOPASSWD: /usr/bin/install, /etc/init.d/tomcat5-sb*, /etc/init.d/cbcsandboxes
> (root) /etc/init.d/tomcat5-sb20
> (cruise) /usr/bin/cvs
> (webmaster) ALL
>
> However, I still keep getting prompted for a password when executing anything of /etc/init.d/tomcat5-*
>
Are /etc/init.d/tomcat5-sb* executable?
More information about the sudo-users
mailing list