tramp-devel
[Top][All Lists]
Advanced

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

Re: Using sudo with authinfo file.


From: Ted Zlatanov
Subject: Re: Using sudo with authinfo file.
Date: Mon, 16 May 2011 21:44:57 -0500
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux)

On Mon, 16 May 2011 17:45:17 +0200 Michael Albinus <address@hidden> wrote: 

MA> Michael Jacobson <address@hidden> writes:
>> Any thoughts on why this is not reading my password from the authinfo
>> file? If I try to connect via "/ssh:192.168.1.120" it reads my
>> authinfo password and connects without prompting me. It is only when
>> using "/sudo" that the I am prompted.  According to
>> http://www.gnu.org/software/tramp/#Multi_002dhops it seems like this
>> should work. Any idea what I am doing wrong?

MA> With Emacs 23, auth-source.el has been added to Emacs core. IIRC, there
MA> are changes in the interface. Likely, you need to add "port sudo" in
MA> your ~/authinfo. See <http://www.gnu.org/software/tramp/#Password-handling>
MA> for discussion.

That node doesn't mention `auth-source-debug' which can be customized to
t.  The first debugging step should be to set it to t and look at
*Messages*.  You'll see exactly what auth-source is looking for
in the authinfo file.

Ted



reply via email to

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