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

Jackson Afonso Krainer jakrainer at yahoo.com
Wed Nov 12 11:22:37 EST 2008


Hello there,
I´m using sudo 1.6.9.17 on AIX 5.3 and the wilcards seems not to be working on this version.
For example, I have an user a0badm that has on his profile the command:

a0badm> sudo -l
User a0badm may run the following commands on this host:
    (root) NOPASSWD: !ALL
    (root) NOPASSWD: /sapmnt/???/exe/saproot.sh, ...


Now, let´s try to execute the command:

a0badm> sudo /sapmnt/J0Y/exe/saproot.sh A0B
Sorry, user a0badm is not allowed to execute '/sapmnt/J0Y/exe/saproot.sh A0B' as root on server_name.

I have tried replacing the "???" for "*" but it didn't work either. It only works if I define the full path with no wildcards.

Does anyone knows what can cause this problem on version sudo-1.6.9p17? Any ideias how to fix it?

Thank you very much in advance,

Jackson



      Novos endereços, o Yahoo! que você conhece. Crie um email novo com a sua cara @ymail.com ou @rocketmail.com.
http://br.new.mail.yahoo.com/addresses



More information about the sudo-users mailing list