[sudo-users] sudo-1.6.9p17 - problem with wildcards

Julian Dunn Julian.Dunn at CBC.CA
Sun Feb 1 22:41:46 EST 2009


They're symbolic links to /etc/init.d/tomcat5 which is executable.

- Julian

>>> Matthew Hannigan <mlh at zip.com.au> 02/01/09 5:16 PM >>>
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?

____________________________________________________________ 
sudo-users mailing list <sudo-users at sudo.ws>
For list information, options, or to unsubscribe, visit:
http://www.sudo.ws/mailman/listinfo/sudo-users



More information about the sudo-users mailing list