[sudo-commits] sudo changeset 11089:c8be95b46e9d

Todd C. Miller Todd.Miller at courtesan.com
Tue Nov 14 14:04:10 MST 2017


changeset:	11089:c8be95b46e9d in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/c8be95b46e9d
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Tue Nov 14 13:58:35 2017 -0700

Log Message:
	If passwd_tries is less than 1, check_user() will always return
	false (since the user didn't authenticate).  The normal reason for
	this is an authentication error but in this case no authentication
	was tries so no warning message has been displayed to the user.  If
	the user wasn't given a chance to authenticate, set inform_user to
	true when calling log_denial() from sudoers_policy_main().

	An alternate approach would be for check_user() to return true
	in this case but seems more confusing.

diffstat:

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


More information about the sudo-commits mailing list