From: Manuel Giraud via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 63246@debbugs.gnu.org
Subject: bug#63246: 30.0.50; TRAMP with doas multi-hops
Date: Thu, 04 May 2023 10:14:35 +0200 [thread overview]
Message-ID: <877ctopl78.fsf@ledu-giraud.fr> (raw)
In-Reply-To: <87pm7h9r6r.fsf@gmx.de> (Michael Albinus's message of "Wed, 03 May 2023 20:59:40 +0200")
Michael Albinus <michael.albinus@gmx.de> writes:
[...]
> While sudo asks to reenter the password, doas simply gives up after the
> first error. This is what you see in Tramp.
>
> Well, there is a doas issue in its bug tracker to change this behaviour:
> <https://github.com/Duncaen/OpenDoas/pull/102>. Once this has arrived
> our systems, doas (in Tramp) shall be have like sudo wrt reentering a
> wrong password.
Hi Michael and thanks for your research,
I had a look at this PR and it proposed to integrate a patch from
upstream doas (which is into the OpenBSD tree) that dates back to
september 2021. I'm using TRAMP to access recent OpenBSD systems (7.3)
and this patch is already here. Here's what I get by default (doas asks
for password 3 times):
$ doas -s
doas (manuel@computer) password:
doas: Authentication failed
doas (manuel@computer) password:
doas: Authentication failed
doas (manuel@computer) password:
doas: Authentication failed
$
So I think that TRAMP needs to take this into account.
Best regards,
--
Manuel Giraud
next prev parent reply other threads:[~2023-05-04 8:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-03 13:13 bug#63246: 30.0.50; TRAMP with doas multi-hops Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-05-03 18:59 ` Michael Albinus
2023-05-04 8:14 ` Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2023-05-04 8:27 ` Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-05-04 16:00 ` Michael Albinus
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=877ctopl78.fsf@ledu-giraud.fr \
--to=bug-gnu-emacs@gnu.org \
--cc=63246@debbugs.gnu.org \
--cc=manuel@ledu-giraud.fr \
--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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).