From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neal Becker Newsgroups: gmane.emacs.help Subject: Re: tramp vs. sudo Date: Thu, 23 Jun 2011 21:25:28 -0400 Message-ID: References: <877h8f80xk.fsf@gmx.de> <20110621131145.71028599@kuru.homelinux.net> <87hb7goekn.fsf@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="nextPart1984973.72Yi5CT4os" X-Trace: dough.gmane.org 1308878820 13144 80.91.229.12 (24 Jun 2011 01:27:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 24 Jun 2011 01:27:00 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 24 03:26:57 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QZvAe-0008Oy-Qd for geh-help-gnu-emacs@m.gmane.org; Fri, 24 Jun 2011 03:26:56 +0200 Original-Received: from localhost ([::1]:33000 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZvAe-0001xD-3W for geh-help-gnu-emacs@m.gmane.org; Thu, 23 Jun 2011 21:26:56 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:52996) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZv9S-0001wz-ND for help-gnu-emacs@gnu.org; Thu, 23 Jun 2011 21:25:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QZv9R-0005Iu-U1 for help-gnu-emacs@gnu.org; Thu, 23 Jun 2011 21:25:42 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:57581) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZv9R-0005IS-IA for help-gnu-emacs@gnu.org; Thu, 23 Jun 2011 21:25:41 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QZv9P-0007qa-Gj for help-gnu-emacs@gnu.org; Fri, 24 Jun 2011 03:25:39 +0200 Original-Received: from pool-70-109-84-16.hag.east.verizon.net ([70.109.84.16]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 24 Jun 2011 03:25:39 +0200 Original-Received: from ndbecker2 by pool-70-109-84-16.hag.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 24 Jun 2011 03:25:39 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Followup-To: gmane.emacs.help Original-Lines: 38 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pool-70-109-84-16.hag.east.verizon.net User-Agent: KNode/4.4.11 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:81415 Archived-At: --nextPart1984973.72Yi5CT4os Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit Michael Albinus wrote: > Richard Riley writes: > >> I get prompted twice here when opening a local file as sudo. > > I still cannot reproduce it here. > > Could somebody, please, provide the traces, using tramp-verbose 6? > Furthermore, it might be helpful to set auth-source-debug to t, because > there could be an interference with auth-sources.el. Messages of > auth-sources.el are written to *Messages*. > > Without any traces, I cannot analyze. Sorry. > > Best regards, Michael. How's this? --nextPart1984973.72Yi5CT4os Content-Type: text/plain; name="tramp" Content-Disposition: attachment; filename="tramp" Content-Transfer-Encoding: 8Bit ;; GNU Emacs: 23.2.1 Tramp: 2.1.18-23.2 -*- mode: outline; -*- 21:23:22.639919 tramp-maybe-open-connection (3) # Opening connection for root@localhost using sudo... 21:23:22.642648 tramp-maybe-open-connection (6) # /bin/sh 21:23:22.643003 tramp-maybe-open-connection (3) # Waiting 60s for local shell to come up... 21:23:22.650913 tramp-wait-for-regexp (6) # #$ 21:23:22.651544 tramp-maybe-open-connection (3) # Sending command `exec sudo -u root -s -H -p Password:' 21:23:22.651698 tramp-send-command (6) # exec sudo -u root -s -H -p Password: 21:23:22.651997 tramp-process-actions (3) # Waiting for prompts from remote shell 21:23:22.712697 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell 21:23:22.712875 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*: --nextPart1984973.72Yi5CT4os--