[sudo-commits] sudo changeset 13708:bc9653ffe82f
Todd C. Miller
Todd.Miller at sudo.ws
Tue Jan 4 19:24:18 MST 2022
changeset: 13708:bc9653ffe82f in /raid/repos/sudo
details: https://www.sudo.ws/repos/sudo/rev/bc9653ffe82f
user: Todd C. Miller <Todd.Miller at sudo.ws>
date: Tue Jan 04 18:57:36 2022 -0700
Log Message:
Push non-interactive mode checking down into the auth methods.
For "sudo -n" we only want to reject a command if user input is
actually required. In the case of PAM at least, we may not need
to interact with the user. Bug #956, GitHub issue #83
diffstat:
plugins/sudoers/auth/API | 12 ++++++++++++
plugins/sudoers/auth/afs.c | 3 +++
plugins/sudoers/auth/aix_auth.c | 3 +++
plugins/sudoers/auth/bsdauth.c | 3 +++
plugins/sudoers/auth/dce.c | 3 +++
plugins/sudoers/auth/fwtk.c | 3 +++
plugins/sudoers/auth/pam.c | 13 ++++++++++++-
plugins/sudoers/auth/securid5.c | 3 +++
plugins/sudoers/auth/sia.c | 3 +++
plugins/sudoers/auth/sudo_auth.c | 15 +++++++++++++--
plugins/sudoers/auth/sudo_auth.h | 17 ++++++++++-------
plugins/sudoers/check.c | 9 +--------
plugins/sudoers/logging.c | 2 +-
plugins/sudoers/sudoers.h | 4 ++--
14 files changed, 72 insertions(+), 21 deletions(-)
More information about the sudo-commits
mailing list