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

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

Re: TRAMP sudo method not asking for password


From: Marcin Borkowski
Subject: Re: TRAMP sudo method not asking for password
Date: Thu, 24 Jan 2019 18:11:36 +0100
User-agent: mu4e 1.1.0; emacs 27.0.50

On 2019-01-20, at 11:52, Michael Albinus <address@hidden> wrote:

> Marcin Borkowski <address@hidden> writes:
>
> Hi Marcin,
>
>>> Why should it? Tramp uses auth-source, which has different backends. It
>>> is not only the .authinfo file which gets the passwords, other backends
>>> like the Secret Service API behave similar.
>>
>> Well, I didn't know anything about it.  (Perhaps not reading the TRAMP
>> manual was a mistake...  Still, just a mention of auth-source *might* be
>> a good idea when discussing TRAMP in the Emacs manual.  IDK.)
>
> There are several other packages using auth-source, none of them have a
> respective hint in the Emacs manual. I don't see why Tramp needs an
> exception.

Until recently I had no idea about the existence of auth-source...

>
> Reading the Tramp manual shall be sufficient.

OK, I will do it and I'll see whether that helps.

>>>> 1. Am I the only one that thinks that this change could be made a bit
>>>> more prominent?  Like using something like yes-or-no-p (as opposed to
>>>> y-or-n-p) by default, for example?  Saving passwords to a plain text
>>>> file is something big, which should not happen by accident, right?
>>>
>>> Again, we don't speak about plain files only. And yes, yes-or-no-p might
>>> fit better. This must be changed in auth-source.el.
>>>
>>> Let's wait for some few days, and if nobody objects, I'll change
>>> accordingly.
>>
>> Thanks for the change (if it takes place), and for your time answering
>> my questions.
>
> I've written the bug report (a feature request rather) bug#34145.

Thanks, and best regards,

--
Marcin Borkowski
http://mbork.pl



reply via email to

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