From: Todd C. Miller Date: Wed, 4 Jan 2012 17:54:54 +0000 (-0500) Subject: Fetch the login class for the user we authenticate specifically when X-Git-Tag: SUDO_1_8_4~120 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=74fd94a097b443525a8271ae88cf294f6242a642;p=sudo 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 --HG-- branch : 1.8 --- 74fd94a097b443525a8271ae88cf294f6242a642