[GRLUG] Figure this one out...

Michael Mol mikemol at gmail.com
Thu Jul 30 13:29:31 EDT 2009


On Thu, Jul 30, 2009 at 1:26 PM, Michael Mol<mikemol at gmail.com> wrote:
> On Thu, Jul 30, 2009 at 1:22 PM, Adam Tauno
> Williams<awilliam at whitemice.org> wrote:
>>> > Sudo didn't already authenticate you in the last 15 minutes?
>>> That was probably it.  I'd thought that sudo uses a separate auth
>>> cache and timeout for each login session, as that was the kind of
>>> behavior I'd thought I'd seen before.  However, I just tested, and the
>>> auth cache/timeout appears to apply to all sessions for the same user.
>>
>> Hmm, are you sure it isn't merely the fact that the pts gets recycled?
>
> No.  Let me try forcing a separate set of PTYs.

Forcing usage of different PTYs does not prevent the remote sudo cache
from another logon session from being used.  In fact, I find that once
one logon for a user authenticates to sudo, another concurrent login
session for that user suddenly has cached authentication for using
sudo.


-- 
:wq


More information about the grlug mailing list