[sudo-commits] sudo changeset 11250:74e5cef2e849

Todd C. Miller Todd.Miller at sudo.ws
Wed Feb 28 14:22:31 MST 2018

changeset:	11250:74e5cef2e849 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/74e5cef2e849
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Wed Feb 28 14:02:50 2018 -0700

Log Message:
	When converting from ldif to sudoers, sudoRole objects with the
	same user if possible.  If both user and host are the same, merge
	into a single privilege.  This makes it possible to convert a
	sudoers entry like:

	    aaron shanty = NOEXEC: /usr/bin/vi, /usr/bin/more, EXEC: /bin/sh

	to ldif and then back to sudoers as a single line.  Currently, the
	ldif entries to be merged must have the same or adjacent sudoOrder


 plugins/sudoers/cvtsudoers_ldif.c |  307 ++++++++++++++++++++++++++++---------
 1 files changed, 227 insertions(+), 80 deletions(-)

More information about the sudo-commits mailing list