[sudo-commits] sudo changeset 15247:80bef089b555

Todd C. Miller Todd.Miller at sudo.ws
Wed Jan 10 13:55:06 MST 2024


changeset:	15247:80bef089b555 in /raid/repos/sudo
tags:		tip
details:	https://www.sudo.ws/repos/sudo/rev/80bef089b555
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Wed Jan 10 13:54:41 2024 -0700
files:		plugins/sudoers/logging.c

Log Message:
	Only log "a password is required" for "sudo -n" if a command is specified.
	This means that it is not logged for "sudo -nv" and "sudo -nl".
	We only log this message when sudo's -n flag is specified (and not
	when the user presses ^C at the password prompt) so that there is
	a record of failed non-interactive commands.


diffstat:

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



More information about the sudo-commits mailing list