From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dieter Wilhelm Newsgroups: gmane.emacs.help Subject: Re: SU commands from Emacs Date: Sat, 25 Aug 2007 04:45:46 +0200 Organization: The Church of Emacs Message-ID: <87ps1cwcv9.fsf@debby.local.net> References: <878x8ahxho.fsf@W0053328.mgh.harvard.edu> <87eji1hpmk.fsf@W0053328.mgh.harvard.edu> <87hcmpzbbo.fsf@debby.local.net> <87y7g0wu58.fsf@debby.local.net> <14AB134F-86ED-45C9-9424-DD5392894171@Web.DE> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1188030357 18666 80.91.229.12 (25 Aug 2007 08:25:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 25 Aug 2007 08:25:57 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, Michael Albinus , "Joel J. Adamson" To: Peter Dyballa Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 25 10:25:55 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IOqxu-0002d5-M3 for geh-help-gnu-emacs@m.gmane.org; Sat, 25 Aug 2007 10:25:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IOqxt-0001nT-O3 for geh-help-gnu-emacs@m.gmane.org; Sat, 25 Aug 2007 04:25:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IOqxc-0001nC-3t for help-gnu-emacs@gnu.org; Sat, 25 Aug 2007 04:25:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IOqxa-0001ms-9H for help-gnu-emacs@gnu.org; Sat, 25 Aug 2007 04:25:35 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IOqxZ-0001me-Sj for help-gnu-emacs@gnu.org; Sat, 25 Aug 2007 04:25:34 -0400 Original-Received: from moutng.kundenserver.de ([212.227.126.188]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IOldI-0006TU-AA for help-gnu-emacs@gnu.org; Fri, 24 Aug 2007 22:44:18 -0400 Original-Received: from drms-590c712e.pool.einsundeins.de [89.12.113.46] (helo=debby.local.net) by mrelayeu.kundenserver.de (node=mrelayeu4) with ESMTP (Nemesis), id 0ML21M-1IOldG0XJ1-0006hu; Sat, 25 Aug 2007 04:44:14 +0200 Original-Received: from dieter by debby.local.net with local (Exim 4.63) (envelope-from ) id 1IOlek-00012e-6V; Sat, 25 Aug 2007 04:45:46 +0200 In-Reply-To: <14AB134F-86ED-45C9-9424-DD5392894171@Web.DE> (Peter Dyballa's message of "Sat\, 25 Aug 2007 00\:16\:26 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-Provags-ID: V01U2FsdGVkX1+WpbOuMqC7gMfTkCueCtpZi9ru8vw4AC2eqaG 41z7ali0p4ENugyGvaJoiz2VJAaoesCx4sPPQMqBbrkSbix4P1 81ryNGfLljbkMoCTtFkhtqUc9LHGBeK X-Detected-Kernel: Linux 2.6? (barebone, rare!) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:46829 Archived-At: Peter Dyballa writes: > Am 24.08.2007 um 22:32 schrieb Dieter Wilhelm: > >> By the way, can you specify between the double colons another user >> except root as well? > > The "default" use is > > /USER@MACHINE:/PATH/TO.FILE > > You're allowed to add a particular method: > > /METHOD:USER@MACHINE:/PATH/TO.FILE > > The method sudo usually needs neither a host nor a user name, but > somehow you need to tell TRAMP these two empty names. So you end up > with > > /sudo::/PATH/TO.FILE > > If you find some time you could try it with a > > /sudo:USER:/PATH/TO.FILE > > and see what happens ... I created a new user: helga /su:helga: gives tramp-open-connection-su: Cannot connect to different host `helga' with `su' connection method [10 times] /su:helga@debby: works fine, thanks -- Best wishes H. Dieter Wilhelm Darmstadt, Germany