[sudo-commits] sudo changeset 11056:055b78015fcb

Todd C. Miller Todd.Miller at courtesan.com
Thu Aug 31 11:31:07 MDT 2017

changeset:	11056:055b78015fcb in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/055b78015fcb
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Thu Aug 31 11:29:19 2017 -0600

Log Message:
	Go back to returning true from display_privs() on non-error.  This
	results in "sudo -U otheruser -l" exiting with a status of 0 even
	when otheruser is not allowed to run commands.  This is appropriate
	since the "sudo -l" command was successful.  This does not change
	the exit value when otheruser runs "sudo -l" themselves, the exit
	status will be 1 since that user is not allowed to run commands.
	Requested by Radovan Sroka.


 plugins/sudoers/sudo_nss.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

More information about the sudo-commits mailing list