[sudo-commits] sudo changeset 12797:1d32c53859f9

Todd C. Miller Todd.Miller at sudo.ws
Mon Jan 11 05:32:10 MST 2021

changeset:	12797:1d32c53859f9 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/1d32c53859f9
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Wed Jan 06 10:16:00 2021 -0700

Log Message:
	For sudo, only allow "sudo" or "sudoedit" as the program name.
	The program name is also used when matching Debug lines in sudo.conf.
	We don't want the user to be able to influence sudo.conf Debug matching.
	The string "sudoedit" is treated the same as "sudo" in sudo.conf.
	Problem reported by Matthias Gerstner of SUSE.


 include/sudo_util.h  |   1 +
 lib/util/progname.c  |  36 ++++++++++++++++++++++++++++++++++--
 lib/util/util.exp.in |   1 +
 src/sudo.c           |   4 +++-
 4 files changed, 39 insertions(+), 3 deletions(-)

More information about the sudo-commits mailing list