[sudo-users] Sudo on RHEL6 and pam_tally2

Todd C. Miller Todd.Miller at courtesan.com
Wed Apr 27 09:20:15 EDT 2011

On Wed, 27 Apr 2011 09:10:05 EDT, "Gonzalez, Aliep" wrote:

> Unfortunately at this moment I am using the RHEL6 GA rpm, but I can
> always build my own 1.8.1p1 rpm as I did in the past. I will let you
> know of the outcome.
> Is this lack of understanding between sudo and pam_tally2 considered a
> bug? If so, is it documented somewhere ? I couldn't find anything about
> it in the changelog.

Newer versions of sudo wait until the command is complete before
closing the PAM session whereas before sudo would close the session
and then execute the program.  I suspect it is this change that
fixed pam_tally2.

 - todd

More information about the sudo-users mailing list