From: Michael Albinus <michael.albinus@gmx.de>
To: Russell Sim <russell.sim@gmail.com>
Cc: 53783-done@debbugs.gnu.org
Subject: bug#53783: 29.0.50; eshell/sudo and eshell/su always use localhost as host
Date: Sun, 06 Feb 2022 09:47:01 +0100 [thread overview]
Message-ID: <87r18gl6uy.fsf@gmx.de> (raw)
In-Reply-To: <yge8ruqxw7n.fsf@gmail.com> (Russell Sim's message of "Fri, 04 Feb 2022 20:34:04 +0100")
Version: 29.1
Russell Sim <russell.sim@gmail.com> writes:
> Hey,
Hi Russell,
> When using eshell if I call `sudo pwd` it will open a different host to if i
> call `cd /sudo::/ && pwd` in the first case it will visit "/sudo:root@localhost:" and in the
> other case it will visit my system "/sudo:root@mowgli:"
>
> I would like to have them both visit the host's actual name "mowgli" so
> that i can reduce the number of open sessions and also take advantage of
> being able to store sudo passwords.
>
> Would it be reasonable for eshell/sudo and eshell/su to instead either
> use tramp-default-host or tramp-system-name which ever is more
> appropriate?
I've fixed it this way, using tramp-default-host. Pushed to master.
> Many thanks,
> Russell
Best regards, Michael.
next prev parent reply other threads:[~2022-02-06 8:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-04 19:34 bug#53783: 29.0.50; eshell/sudo and eshell/su always use localhost as host Russell Sim
2022-02-06 8:47 ` Michael Albinus [this message]
[not found] ` <handler.53783.D53783.164413723213537.notifdone@debbugs.gnu.org>
2022-02-06 17:19 ` Glenn Morris
2022-02-06 17:52 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r18gl6uy.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=53783-done@debbugs.gnu.org \
--cc=russell.sim@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.