unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Dieter Wilhelm <dieter@duenenhof-wilhelm.de>
Cc: help-gnu-emacs@gnu.org, David Kastrup <dak@gnu.org>
Subject: Re: SU commands from Emacs
Date: Sun, 26 Aug 2007 12:55:00 +0200	[thread overview]
Message-ID: <87wsvik1kr.fsf@gmx.de> (raw)
In-Reply-To: <87lkc0wc64.fsf@debby.local.net> (Dieter Wilhelm's message of "Sat, 25 Aug 2007 05:00:51 +0200")

Dieter Wilhelm <dieter@duenenhof-wilhelm.de> writes:

> On second thought: shouldn't /su:name@localhost:/dir not be equivalent
> to /name@localhost:/dir

You can define your own defaults. Check for the variables
tramp-default-method, tramp-default-host, tramp-default-user,
tramp-default-method-alist, tramp-default-proxies-alist and
tramp-default-user-alist in the documentation.

Your proposal above is not applicable everywhere. For example, Ubuntu
does not allow su for root; it requires sudo.

However, you can define it yourself with

 (add-to-list 'tramp-default-method-alist '("\\`localhost\\'" nil "su"))

Best regards, Michael.

  reply	other threads:[~2007-08-26 10:55 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-17 17:38 SU commands from Emacs Joel J. Adamson
2007-08-17 18:23 ` Emilio Lopes
2007-08-17 19:38   ` Joel J. Adamson
2007-08-18  9:55     ` Emilio Lopes
2007-08-17 19:04 ` David Hansen
2007-08-17 19:27 ` Peter Dyballa
     [not found] ` <mailman.4925.1187378874.32220.help-gnu-emacs@gnu.org>
2007-08-17 20:23   ` Joel J. Adamson
2007-08-17 20:37     ` Sven Joachim
     [not found] ` <mailman.4924.1187377704.32220.help-gnu-emacs@gnu.org>
2007-08-17 20:28   ` Joel J. Adamson
2007-08-24  6:38     ` Dieter Wilhelm
2007-08-24  9:37       ` Michael Albinus
2007-08-24 20:32         ` Dieter Wilhelm
2007-08-24 22:16           ` Peter Dyballa
2007-08-25  2:45             ` Dieter Wilhelm
2007-08-25 19:35             ` Joel J. Adamson
2007-08-26  8:49               ` Michael Albinus
2007-08-27 13:28                 ` Joel J. Adamson
     [not found]         ` <mailman.5288.1187987493.32220.help-gnu-emacs@gnu.org>
2007-08-24 21:55           ` David Kastrup
2007-08-25  3:00             ` Dieter Wilhelm
2007-08-26 10:55               ` Michael Albinus [this message]
2007-08-24  9:51       ` Peter Dyballa
     [not found]     ` <mailman.5238.1187937431.32220.help-gnu-emacs@gnu.org>
2007-08-24  7:59       ` Tim X
2007-08-24 20:20         ` Dieter Wilhelm
     [not found]         ` <mailman.5305.1188026786.32220.help-gnu-emacs@gnu.org>
2007-08-25  9:28           ` Tim X
2007-08-25 13:57             ` Dieter Wilhelm

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=87wsvik1kr.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=dak@gnu.org \
    --cc=dieter@duenenhof-wilhelm.de \
    --cc=help-gnu-emacs@gnu.org \
    /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).