[sudo-commits] sudo changeset 7526:e3094ce63bd7

Todd C. Miller Todd.Miller at courtesan.com
Wed Jan 4 13:06:59 EST 2012

changeset:	7526:e3094ce63bd7 in /home/hg/sudo
details:	http://www.sudo.ws/repos/sudo/rev/e3094ce63bd7
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Wed Jan 04 12:54:54 2012 -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


 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