[sudo-users] LDAP defaults for commands

Daniele Palumbo daniele at retaggio.net
Wed Dec 6 15:07:46 MST 2017


I need to move to LDAP some Defaults associated only to some user or command.

Example: https://www.sudo.ws/man/1.8.21/sudoers.man.html#EXAMPLES 
"Defaults:millert	!authenticate" 
"Cmnd_Alias	PAGERS = /usr/bin/more, /usr/bin/pg, /usr/bin/less Defaults!PAGERS		noexec"

Checking the LDAP manual https://www.sudo.ws/man/1.8.21/sudoers.ldap.man.html 

Does not report this kind of limitation. 

But does not report as well how to properly fill the information into the LDIF in this case. 

How to properly fill the 2 example in LDIF? 

Is possible to add this example is the documentation?

Thank you very much,

More information about the sudo-users mailing list