From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: tramp vs. sudo Date: Tue, 21 Jun 2011 21:00:23 +0200 Message-ID: <877h8f80xk.fsf@gmx.de> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1308698797 7955 80.91.229.12 (21 Jun 2011 23:26:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 21 Jun 2011 23:26:37 +0000 (UTC) Cc: Neal Becker , help-gnu-emacs@gnu.org To: suvayu ali Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 22 01:26:33 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 1QZAL2-0004C9-Ab for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Jun 2011 01:26:32 +0200 Original-Received: from localhost ([::1]:54805 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZAL1-0004as-BV for geh-help-gnu-emacs@m.gmane.org; Tue, 21 Jun 2011 19:26:31 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:50103) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZ6Bh-00069C-SO for help-gnu-emacs@gnu.org; Tue, 21 Jun 2011 15:00:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QZ6Bf-0003v8-DA for help-gnu-emacs@gnu.org; Tue, 21 Jun 2011 15:00:37 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.23]:54338) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1QZ6Be-0003uO-OB for help-gnu-emacs@gnu.org; Tue, 21 Jun 2011 15:00:35 -0400 Original-Received: (qmail invoked by alias); 21 Jun 2011 19:00:26 -0000 Original-Received: from p57BB8A81.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [87.187.138.129] by mail.gmx.net (mp071) with SMTP; 21 Jun 2011 21:00:26 +0200 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX1/aAyhQMSba35z6duGM/VcSB4amSQPNF45yzvjPuj rUThgLcUgVHRh4 In-Reply-To: (suvayu ali's message of "Tue, 21 Jun 2011 06:02:18 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 213.165.64.23 X-Mailman-Approved-At: Tue, 21 Jun 2011 19:24:29 -0400 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:81392 Archived-At: suvayu ali writes: > On Tue, Jun 21, 2011 at 5:41 AM, Neal Becker wrote: >> I have a minor issue with tramp. =C2=A0If sudo is setup to not ask for >> pw, everything >> is fine. =C2=A0If sudo is setup to ask for the user's pw, then >> /sudo:root@localhost:/whatever >> >> will ask for the pw 2 times. =C2=A0The 2nd time it will work. >> > > Its the same here. I just assumed thats how tramp behaves with sudo. I cannot reproduce it locally. I'm running Ubuntu 11.11, and I've tested it with both Emacs 23.2 and 24.0.50, calling "emacs -Q" in both cases. Could you, please, call Emacs the same way. *Before* you open /sudo:root@localhost:/whatever you should eval=20 (setq tramp-verbose 6) Please show Tramp's debug buffer afterwards. It does not contain any password string (but you might crosscheck before sending). Best regards, Michael.