[sudo-users] Sudo LDAP : More than one command in sudoCommand

Gregory Charot gcharot at evenium.com
Fri May 9 07:58:25 MDT 2014


Thanks for the help Todd

That was so obvious that I didn't try it at first. Works like a charm, 
thanks again !

Regards,
Greg
Le 08/05/2014 21:07, Todd C. Miller a écrit :
> On Wed, 07 May 2014 17:38:38 +0200, Gregory Charot wrote:
>
>> I'd like to know if it possible to specify more than one command in the
>> sudoCommand parameter
> Only one command may be specified per sudoCommand but you may have
> multiple sudoCommands per sudoRole.  For example:
>
> dn: cn=sudo_zabbix_test,ou=Sudoers,dc=xxx,dc=com
> objectClass: top
> objectClass: sudoRole
> cn: sudo_zabbix_test
> sudoUser: zabbix
> sudoHost: ALL
> sudoCommand: /usr/java/default/bin/jps
> sudoCommand: /sbin/mii-tool*
> sudoOption: !authenticate
> sudoOption: !requiretty
> sudoRunAs: root
>
>   - todd




More information about the sudo-users mailing list