Bugzilla – Bug 810
Defaults for Cmnd_Alias not associate to a User_Alias cannot be translated into LDAP
Last modified: 2017-12-20 16:45:48 MST
Currently is not possible to translate the following into LDAP: https://www.sudo.ws/man/1.8.21/sudoers.man.html#EXAMPLES "Cmnd_Alias PAGERS = /usr/bin/more, /usr/bin/pg, /usr/bin/less Defaults!PAGERS noexec" According to Todd, this limitation is existing because that sudoRole will never match a query because there is no sudoUser in it. Current limitation is that there is no way to specify per-command options in sudoers LDAP. The options are either global or specific to a given sudoRole. In order to have full capability of Sudo over LDAP, this limitation should be removed.