help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sudo and tramp ask for password twice


From: Michael Albinus
Subject: Re: sudo and tramp ask for password twice
Date: Sun, 06 May 2012 13:10:15 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

Eric Abrahamsen <eric@ericabrahamsen.net> writes:

> Hi there,

Hi Eric,

> So I choose localhost, then go for the file I want. Tramp asks me for my
> password once when I choose localhost, and then again the next time it
> needs to touch the filesystem (since I'm using ido, that means the first
> time it starts completing filepaths).
>
> Is there any way I can have it ask just once? Am I using it incorrectly?

Set password-cache-expiry to nil:

+----- C-h v password-cache-expiry ------------------------------------
|
| password-cache-expiry is a variable defined in `password-cache.el'.
| Its value is nil
| Original value was 16
| 
| Documentation:
| How many seconds passwords are cached, or nil to disable expiring.
| Whether passwords are cached at all is controlled by `password-cache'.
|
+--------------------------------------------------------------------

> Thanks!
>
> Eric

Best regards, Michael.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]