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

Julian Dunn Julian.Dunn at CBC.CA
Fri Jan 30 14:44:21 EST 2009


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-*

- Julian


--
-- Julian C. Dunn, P.Eng. <Julian.Dunn at cbc.ca>
-- Assistant Team Lead / Chef d'équipe adjoint
-- Media Production Support / Soutien à la production des médias
-- Canadian Broadcasting Corporation / Société Radio-Canada
-- Office/Bureau: 9B122-K  *  Tel.: (416) 205-3311 x6988 * DID: 1-151-6988




More information about the sudo-users mailing list