[sudo-commits] sudo changeset 13817:dcaeadb7e558

Todd C. Miller Todd.Miller at sudo.ws
Mon Feb 21 14:07:39 MST 2022


changeset:	13817:dcaeadb7e558 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/dcaeadb7e558
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Mon Feb 21 14:03:05 2022 -0700

Log Message:
	Add back warning when a user is not allowed to run a command.
	Previously, the warning was displayed when a user was not in the
	sudoers file, or was present but not listed for the local host.
	The new behavior is to display the warning if a command is denied
	and mail is sent to the administrator.  Whether or not mail is sent
	is controlled by the "mail_*" flags in sudoers.  The warning text
	is now "This incident has been reported to the administrator." which
	is hopefully less confusing.  The message will not be printed if
	either the "mailto" or "mailerpath" sudoers settings are disabled.

diffstat:

 NEWS                      |  11 +++++++----
 plugins/sudoers/logging.c |   4 ++++
 2 files changed, 11 insertions(+), 4 deletions(-)



More information about the sudo-commits mailing list