unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Marcin Borkowski <mbork@mbork.pl>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: Help Gnu Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Re: TRAMP sudo method not asking for password
Date: Thu, 24 Jan 2019 18:11:36 +0100	[thread overview]
Message-ID: <874l9y7zg7.fsf@mbork.pl> (raw)
In-Reply-To: <871s578utc.fsf@gmx.de>


On 2019-01-20, at 11:52, Michael Albinus <michael.albinus@gmx.de> wrote:

> Marcin Borkowski <mbork@mbork.pl> 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	other threads:[~2019-01-24 17:11 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-12 16:36 TRAMP sudo method not asking for password Marcin Borkowski
2019-01-12 17:09 ` Marcin Borkowski
2019-01-12 17:15   ` Marcin Borkowski
2019-01-12 18:44     ` Michael Albinus
2019-01-16 19:06       ` Marcin Borkowski
2019-01-16 22:42         ` Michael Albinus
2019-01-20  5:59           ` Marcin Borkowski
2019-01-20 10:52             ` Michael Albinus
2019-01-24 17:11               ` Marcin Borkowski [this message]
2019-01-26 15:50                 ` Michael Albinus
2019-01-27 15:21                   ` Robert Pluim
2019-01-27 17:21                     ` Michael Albinus
2019-01-28 17:53                       ` Marcin Borkowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874l9y7zg7.fsf@mbork.pl \
    --to=mbork@mbork.pl \
    --cc=help-gnu-emacs@gnu.org \
    --cc=michael.albinus@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).