[GRLUG] Figure this one out...
Michael Mol
mikemol at gmail.com
Thu Jul 30 12:25:47 EDT 2009
On Thu, Jul 30, 2009 at 12:10 PM, Jeff DeFouw<jeffd at i2k.com> wrote:
> On Thu, Jul 30, 2009 at 11:51:45AM -0400, Michael Mol wrote:
>> On Thu, Jul 30, 2009 at 9:18 AM, Ben Rousch<brousch at gmail.com> wrote:
>> > On Wed, Jul 29, 2009 at 10:46 PM, Michael Mol <mikemol at gmail.com> wrote:
>> >>
>> >> shortcircuit at cheshire/tmp
>> >> 22:42:05 $ ssh hostname sudo /etc/init.d/mediatomb restart
>> >> ?* Stopping MediaTomb ...
>> >> [ ok ]
>> >> ?* Starting MediaTomb ...
>> >> [ ok ]
>> >> shortcircuit at cheshire/tmp
>> >> 22:42:26 $
>> >>
>> >> What's wrong with this picture?
>>
>> Sorry...Just woke up.
>>
>> I am indeed using public/private key auth between cheshire and the
>> host running mediatomb. that's why there was no password there.
>>
>> I still don't know why sudo didn't ask for a password, though. That's
>> what startled me.
>
> 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.
--
:wq
More information about the grlug
mailing list