[sudo-commits] sudo changeset 8360:c2cc2f97b204

Todd C. Miller Todd.Miller at courtesan.com
Fri Aug 24 09:13:44 EDT 2012


changeset:	8360:c2cc2f97b204 in /home/hg/sudo
details:	http://www.sudo.ws/repos/sudo/rev/c2cc2f97b204
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Wed Aug 22 12:47:18 2012 -0400

Log Message:
	Move log_denial() calls and logic to log_failure().
	Move authentication failure logging to log_auth_failure().
	Both of these call audit_failure() for us.

	This subtly changes logging for commands that are denied by sudoers
	but where the user failed to enter the correct password.  Previously,
	these would be logged as "N incorrect password attempts" but now
	are logged as "command not allowed".  Fixes bug #563

diffstat:

 auth/sudo_auth.c |   93 +++++++++----------
 check.c          |   65 +++++++++----
 logging.c        |   93 ++++++++++++++++++-
 logging.h        |    5 +-
 sudo.c           |  260 ++++++++++++++++++++++++++----------------------------
 sudo.h           |   13 +-
 6 files changed, 314 insertions(+), 215 deletions(-)



More information about the sudo-commits mailing list