[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Fab-user] Cached sudo pass? (Not in fabfile, but only requested onc
From: |
Jeff Forcier |
Subject: |
Re: [Fab-user] Cached sudo pass? (Not in fabfile, but only requested once?) |
Date: |
Tue, 30 Apr 2013 12:46:58 -0700 |
Actually, yes, that's right - if it is entered by hand once, it is
cached. I may have misread what SL wanted - the -I flag is mostly
useful for when you want to ensure you prime it up front instead of
waiting to be prompted. This is especially good for parallel runs when
you *cannot* be prompted.
On Tue, Apr 30, 2013 at 9:06 AM, Chris Vest <address@hidden> wrote:
> Is this not already the default behaviour? If not, then it used to be. IIRC,
> the password caching may be per connection, so you might have to type it in
> once for every host you make fabric connect to.
>
> Chris
>
> Sent from my iPad
>
> On 30 Apr 2013, at 14:59, SL <address@hidden> wrote:
>
>> Hi,
>>
>> I haven't been able to figure out of there's any obvious way of doing this,
>> so I thought I'd ask here. I don't want to store me sudo password in the
>> script, but also I don't want to have to type it multiple times for remote
>> servers. Is there a way of configuring the script so that it will request
>> it only once, and then use this cached version for all subsequent requests?
>>
>> Thanks
>> _______________________________________________
>> Fab-user mailing list
>> address@hidden
>> https://lists.nongnu.org/mailman/listinfo/fab-user
>
> _______________________________________________
> Fab-user mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/fab-user
--
Jeff Forcier
Unix sysadmin; Python/Ruby engineer
http://bitprophet.org