[sudo-users] New SUDO Schema Expantion

Todd C. Miller Todd.Miller at courtesan.com
Tue Dec 13 12:20:52 EST 2011


On Tue, 13 Dec 2011 17:14:55 GMT, JR Aquino wrote:

> What happens if 2 Sudo Rule Objects in the Directory contain the same
> numerical value for the SudoOrder?

As you might expect, the results are undefined--there's no way to
know which will be chosen.  The objects are sorted using the qsort()
function which is not a "stable sort" so it may alter the order (as
returned by LDAP) of two entries with the same value of SudoOrder.

 - todd



More information about the sudo-users mailing list