[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Host name for su(do)? (was: Tramp 2.0 -> 2.1 migration woes)
From: |
Trent W. Buck |
Subject: |
Re: Host name for su(do)? (was: Tramp 2.0 -> 2.1 migration woes) |
Date: |
Tue, 29 Jan 2008 02:46:32 +1100 |
User-agent: |
Mutt/1.5.17+20080114 (2008-01-14) |
On Mon, Jan 28, 2008 at 03:50:16PM +0100, Michael Albinus wrote:
> >> The appended patch shall fix it. Could you, please, test?
> >
> > Yes, that seems to work, but I would extend the whitelist:
> >
> > - The class A network 127.0.0.0/8
> > - The unqualified system name (e.g. Clio instead of Clio.twb.ath.cx)
> > - The comparison should be case-insensitive.
> >
> > Obviously this whitelist will never be perfect, e.g. if "mail" is a
> > CNAME alias in on the DNS server for the local host, /sudo:mail: is
> > meaningful but it would be hard to catch that.
>
> The typical use case for "su" and "sudo" are file names like
> "/sudo::/file". Therefore, I don't believe we shall invest too much
> in the whitelist.
Fair enough.
> "127.0.0.1" as host name doesn't seem to be needed; if
> somebody uses it, s?he will be taught not to do.
Hee hee, I only learnt to use 127.0.0.1 because Emacs 22 / TRAMP 2.0
wasn't working with /multi:ssh:address@hidden:sudo:address@hidden:/ but it
was with 127.0.0.1.
> `system-name' will mostly the unqualified system name I believe, so it
> is already compliant to your request. Or am I wrong?
On my system, system-name is the FQDN. Assuming system-name is what
the default frame-title-format uses, this has been the case for as
long as I can remember (back to Emacs 21).
signature.asc
Description: Digital signature
- Re: Tramp 2.0 -> 2.1 migration woes, (continued)
- Re: Tramp 2.0 -> 2.1 migration woes, Michael Albinus, 2008/01/28
- Re: Tramp 2.0 -> 2.1 migration woes, Trent W. Buck, 2008/01/28
- Re: Tramp 2.0 -> 2.1 migration woes, Michael Albinus, 2008/01/28
- Re: Tramp 2.0 -> 2.1 migration woes, Trent W. Buck, 2008/01/28
- Re: Tramp 2.0 -> 2.1 migration woes, Michael Albinus, 2008/01/31
- Re: Tramp 2.0 -> 2.1 migration woes, Stefan Monnier, 2008/01/31
- Re: Tramp 2.0 -> 2.1 migration woes, Michael Albinus, 2008/01/31
Re: Tramp 2.0 -> 2.1 migration woes, Michael Albinus, 2008/01/27
Shell-command is no longer a shell (was: Tramp 2.0 -> 2.1 migration woes), Michael Albinus, 2008/01/28
sudo -s -H (was: Tramp 2.0 -> 2.1 migration woes), Michael Albinus, 2008/01/29