[sudo-users] Sudo LDAP : More than one command in sudoCommand
Todd C. Miller
Todd.Miller at courtesan.com
Thu May 8 13:07:42 MDT 2014
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