[sudo-commits] sudo changeset 11164:cab448ac8633
Todd C. Miller
Todd.Miller at sudo.ws
Tue Jan 16 10:32:07 MST 2018
changeset: 11164:cab448ac8633 in /raid/repos/sudo
details: https://www.sudo.ws/repos/sudo/rev/cab448ac8633
user: Todd C. Miller <Todd.Miller at sudo.ws>
date: Tue Jan 16 10:27:58 2018 -0700
Log Message:
Add an approval function to the sudo auth API which is run after
the user's password has been verified. The approval function is
run even if no password is required. This is currently only used
for PAM (use pam_acct_mgmt) and BSD auth (auth_approval).
diffstat:
plugins/sudoers/auth/API | 26 ++++++++++-
plugins/sudoers/auth/bsdauth.c | 16 +++++++
plugins/sudoers/auth/pam.c | 87 ++++++++++++++++++++++++---------------
plugins/sudoers/auth/sudo_auth.c | 88 ++++++++++++++++++++++++++-------------
plugins/sudoers/auth/sudo_auth.h | 11 +++-
plugins/sudoers/check.c | 4 +
plugins/sudoers/sudoers.h | 4 +-
7 files changed, 163 insertions(+), 73 deletions(-)
More information about the sudo-commits
mailing list