[sudo-commits] sudo changeset 12936:6bec88c0a901
Todd C. Miller
Todd.Miller at sudo.ws
Tue Feb 9 13:53:15 MST 2021
changeset: 12936:6bec88c0a901 in /raid/repos/sudo
details: https://www.sudo.ws/repos/sudo/rev/6bec88c0a901
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.
diffstat:
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