unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: "C. Conrad" <electric.monk@posteo.net>
Cc: 59015-done@debbugs.gnu.org
Subject: bug#59015: 28.2; tramp asking for root password instead user password
Date: Fri, 04 Nov 2022 15:12:59 +0100	[thread overview]
Message-ID: <871qqibyfo.fsf@gmx.de> (raw)
In-Reply-To: <205bfa6c-a23e-10fb-6caa-f020b221023e@posteo.net> (C. Conrad's message of "Fri, 4 Nov 2022 06:53:29 +0000")

Version: 29.1

"C. Conrad" <electric.monk@posteo.net> writes:

Hi,

> => System info below.
>
> Sudoing with tramp
>
> (defun vserver-edit-root()
>   (interactive)
>   (find-file "/ssh:user@92.14.61.91#2345|sudo:92.14.61.91:/"))
>
> asks me for the password of the "root" user, but i have to enter the
> pw
> for "user". "user" is in "sudo" group.
>
> Aside from the wrong string shown as prompt, everything works fine.

Thanks for the report.

This is fixed already in Tramp 2.6, which will be part of Emacs 29. The
first standalone release, 2.6.0, is planned for the end of this year,
and it is also planned to distribute it via GNU ELPA.

Closing the bug.

Best regards, Michael.





      reply	other threads:[~2022-11-04 14:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-04  6:53 bug#59015: 28.2; tramp asking for root password instead user password C. Conrad
2022-11-04 14:12 ` Michael Albinus [this message]

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=871qqibyfo.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=59015-done@debbugs.gnu.org \
    --cc=electric.monk@posteo.net \
    /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).