[sudo-commits] sudo changeset 7642:95bd1c8b121d

Todd C. Miller Todd.Miller at courtesan.com
Thu Jan 12 16:45:46 EST 2012


changeset:	7642:95bd1c8b121d in /home/hg/sudo
details:	http://www.sudo.ws/repos/sudo/rev/95bd1c8b121d
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Thu Jan 12 14:23:42 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.

diffstat:

 auth/bsdauth.c |  51 ++++++++++++++++++++++++++++++++++++++-------------
 sudo.c         |  10 +++++++---
 2 files changed, 45 insertions(+), 16 deletions(-)



More information about the sudo-commits mailing list