[sudo-commits] sudo changeset 7434:21bf0af892f7
Todd C. Miller
Todd.Miller at courtesan.com
Fri Dec 2 15:13:21 EST 2011
changeset: 7434:21bf0af892f7 in /home/hg/sudo
details: http://www.sudo.ws/repos/sudo/rev/21bf0af892f7
user: Todd C. Miller <Todd.Miller at courtesan.com>
date: Fri Dec 02 14:29:54 2011 -0500
Log Message:
Fetch the login class for the user we authenticate specifically when
using BSD authentication. That user may have a different login class
than what we will use to run the command. When setting the login
class for the command, use the target user's struct passwd, not
the invoking user's. Fixes bug 526
diffstat:
plugins/sudoers/auth/bsdauth.c | 54 +++++++++++++++++++++++++++++++----------
plugins/sudoers/sudoers.c | 18 +++++++------
2 files changed, 50 insertions(+), 22 deletions(-)
More information about the sudo-commits
mailing list