all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Tyler Smith <tyler@plantarum.ca>
Cc: 25963@debbugs.gnu.org
Subject: bug#25963: 25.2; tramp su fails
Date: Sat, 04 Mar 2017 14:37:11 +0100	[thread overview]
Message-ID: <87y3wlxiwo.fsf@detlef> (raw)
In-Reply-To: <1488592949.654804.899954472.76F68A80@webmail.messagingengine.com> (Tyler Smith's message of "Fri, 03 Mar 2017 21:02:29 -0500")

Tyler Smith <tyler@plantarum.ca> writes:

> Hello,

Hi Tyler,

> From emacs -Q, I issue
> `(require 'tramp)`, customize tramp-verbose to 10, and try to open a
> file as root: `C-x C-f /su::/etc/fstab`. I'm then prompted for my root
> password. Entering the password, Emacs pauses for ca. 10 seconds, then
> appears to open a new file called fstab, but it's not the fstab that
> already exists in /etc/fstab. The message about calling make-directory
> to create the parent directories shows up, so I've apparently opened a
> new file somewhere. I can't see where, exactly, as `C-x C-f`, or even
> `M-x shell-commmand pwd` both prompt me for the root password, and then
> fail. 
>
> Despite having turned `tramp-verbose` to the maximum value, there's not
> much in my *Messages* buffer after all this:
>
> Creating customization setup...done  
> Tramp: Opening connection for root@<myhostname> using su...  
> Tramp: Sending command ‘exec su - root’  
> Tramp: Waiting for prompts from remote shell...  
> Tramp: Sending Password  
> Tramp: Waiting for prompts from remote shell...failed  
> Tramp: Opening connection for root@<myhostname> using su...failed  

This tells us that the su command hasn't been successful. When you have
turned `tramp-verbose' to 10, there is a Tramp debug buffer. Pls show this.

> Best,
>
> Tyler

Best regards, Michael.





  reply	other threads:[~2017-03-04 13:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-04  2:02 bug#25963: 25.2; tramp su fails Tyler Smith
2017-03-04 13:37 ` Michael Albinus [this message]
2017-03-06 13:43   ` Tyler Smith
2017-03-06 14:06     ` Michael Albinus
2017-03-07  0:12       ` Tyler Smith
2017-03-07  8:16         ` 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=87y3wlxiwo.fsf@detlef \
    --to=michael.albinus@gmx.de \
    --cc=25963@debbugs.gnu.org \
    --cc=tyler@plantarum.ca \
    /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.