<font size=2 face="sans-serif">The command had not been added into the
sudocmd database. </font>
<br>
<br><font size=2 face="sans-serif">   member sudo command: /usr/bin/yum
--disableexcludes=all localinstall example*: no such entry</font>
<br>
<br><font size=2 face="sans-serif">I think this error should point to someone
checking to make sure the sudo command had been created, something along
the lines of "no sudocmd entry defined yet" vs "no such
entry" would improve workflow for people stuck using the CMD.</font>
<br>
<br>
<br><font size=2 face="sans-serif">Thank You,</font>
<br><font size=2 face="sans-serif"><b>Rashard Kelly</b></font><font size=2 face="sans-serif"><b><br>
</b></font>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From:      
 </font><font size=1 face="sans-serif">Rashard Kelly/Atlanta/SITA/WW</font>
<br><font size=1 color=#5f5f5f face="sans-serif">To:      
 </font><font size=1 face="sans-serif">freeipa-users@redhat.com</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date:      
 </font><font size=1 face="sans-serif">03/12/2014 11:47 AM</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject:    
   </font><font size=1 face="sans-serif">Sudo Rule Command
Line Option Arguments</font>
<br>
<hr noshade>
<br>
<br><font size=2 face="sans-serif">What is the correct way to add a flag
inside a sudo command that will be added to a command group? When adding
commands with no flags I have no issue such as "/usr/bin/yum info
example*" but when I try to add options to the command like this "/usr/bin/yum
--disableexcludes=all localinstall example*", It does not work even
when escaping items like --. How does IPA handle a request like that?</font>
<br><font size=2 face="sans-serif"> </font>
<br><font size=2 face="sans-serif">ipa-client-3.0.0-37.el6.x86_64</font>
<br>
<br><font size=2 face="sans-serif">[rkelly@hostname /]$ ipa sudocmdgroup-add-member
--sudocmds "/usr/bin/yum --disableexcludes=all localinstall example*"
yumsita</font>
<br><font size=2 face="sans-serif">  Sudo Command Group: yumexample</font>
<br><font size=2 face="sans-serif">  Description: Yum install Priviledges
for example.com specific packages</font>
<br><font size=2 face="sans-serif">  Member Sudo commands: /usr/bin/yum
info example*, /usr/bin/yum update example*,</font>
<br><font size=2 face="sans-serif">           
            /usr/bin/yum remove example*,
/usr/bin/yum install</font>
<br><font size=2 face="sans-serif">           
            example*, /usr/bin/yum localinstall
example*, /usr/bin/yum</font>
<br><font size=2 face="sans-serif">           
            localupdate example*</font>
<br><font size=2 face="sans-serif">  Failed members:</font>
<br><font size=2 face="sans-serif">    member sudo command: /usr/bin/yum
--disableexcludes=all localinstall example*: no such entry</font>
<br><font size=2 face="sans-serif">-------------------------</font>
<br><font size=2 face="sans-serif">Number of members added 0</font>
<br><font size=2 face="sans-serif">-------------------------</font>
<br>
<br>
<br><font size=2 face="sans-serif">Thank You,</font>
<br><font size=2 face="sans-serif"><b>Rashard Kelly</b></font><font size=2 face="sans-serif"><b><br>
</b></font>
<br><BR/><p>
This document is strictly confidential and intended only for use by the
addressee unless otherwise stated.  If you are not the intended recipient,
please notify the sender immediately and delete it from your system.
See you at 2014 Air Transport IT Summit, 17-19 June 2014 
Click here to register http://www.sitasummit.aero
</p>