all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Neal Becker <ndbecker2@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: tramp vs. sudo
Date: Thu, 23 Jun 2011 21:25:28 -0400	[thread overview]
Message-ID: <iu0p28$9qe$1@dough.gmane.org> (raw)
In-Reply-To: 87hb7goekn.fsf@gmx.de

[-- Attachment #1: Type: text/plain, Size: 527 bytes --]

Michael Albinus wrote:

> Richard Riley <rileyrg@googlemail.com> 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?

[-- Attachment #2: tramp --]
[-- Type: text/plain, Size: 846 bytes --]

;; 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\).*:


  reply	other threads:[~2011-06-24  1:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-21 12:41 tramp vs. sudo Neal Becker
2011-06-21 13:02 ` suvayu ali
2011-06-21 19:00   ` Michael Albinus
2011-06-21 20:11     ` Suvayu Ali
2011-06-22 10:22       ` Richard Riley
2011-06-23 13:35         ` Michael Albinus
2011-06-24  1:25           ` Neal Becker [this message]
2011-06-24 11:30             ` Neal Becker
2011-06-24 19:01               ` Michael Albinus

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='iu0p28$9qe$1@dough.gmane.org' \
    --to=ndbecker2@gmail.com \
    --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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.