]> granicus.if.org Git - sudo/commitdiff
Fetch the login class for the user we authenticate specifically when
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 4 Jan 2012 17:54:54 +0000 (12:54 -0500)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 4 Jan 2012 17:54:54 +0000 (12:54 -0500)
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

--HG--
branch : 1.8


Trivial merge