From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#25963: 25.2; tramp su fails Date: Sat, 04 Mar 2017 14:37:11 +0100 Message-ID: <87y3wlxiwo.fsf@detlef> References: <1488592949.654804.899954472.76F68A80@webmail.messagingengine.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1488634692 3645 195.159.176.226 (4 Mar 2017 13:38:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 4 Mar 2017 13:38:12 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: 25963@debbugs.gnu.org To: Tyler Smith Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 04 14:38:07 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ck9ss-0000Mz-DU for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Mar 2017 14:38:06 +0100 Original-Received: from localhost ([::1]:35398 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ck9sy-0000zz-II for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Mar 2017 08:38:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38015) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ck9ss-0000zt-CM for bug-gnu-emacs@gnu.org; Sat, 04 Mar 2017 08:38:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ck9so-0001C2-EO for bug-gnu-emacs@gnu.org; Sat, 04 Mar 2017 08:38:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41076) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ck9so-0001Bs-9i for bug-gnu-emacs@gnu.org; Sat, 04 Mar 2017 08:38:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ck9so-0004b9-2z for bug-gnu-emacs@gnu.org; Sat, 04 Mar 2017 08:38:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Mar 2017 13:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25963 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25963-submit@debbugs.gnu.org id=B25963.148863464517631 (code B ref 25963); Sat, 04 Mar 2017 13:38:02 +0000 Original-Received: (at 25963) by debbugs.gnu.org; 4 Mar 2017 13:37:25 +0000 Original-Received: from localhost ([127.0.0.1]:39275 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ck9sC-0004aJ-MH for submit@debbugs.gnu.org; Sat, 04 Mar 2017 08:37:24 -0500 Original-Received: from mout.gmx.net ([212.227.15.18]:50856) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ck9sB-0004a6-7o for 25963@debbugs.gnu.org; Sat, 04 Mar 2017 08:37:24 -0500 Original-Received: from detlef.gmx.de ([93.197.204.44]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MU0pN-1ctCJN3QfZ-00Qi0K; Sat, 04 Mar 2017 14:37:12 +0100 In-Reply-To: <1488592949.654804.899954472.76F68A80@webmail.messagingengine.com> (Tyler Smith's message of "Fri, 03 Mar 2017 21:02:29 -0500") X-Provags-ID: V03:K0:MA9OVfhwF8Y3Z9XUihNaojoim2S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it@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:130175 Archived-At: Tyler Smith 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.=20 > > Despite having turned `tramp-verbose` to the maximum value, there's not > much in my *Messages* buffer after all this: > > Creating customization setup...done=20=20 > Tramp: Opening connection for root@ using su...=20=20 > Tramp: Sending command =E2=80=98exec su - root=E2=80=99=20=20 > Tramp: Waiting for prompts from remote shell...=20=20 > Tramp: Sending Password=20=20 > Tramp: Waiting for prompts from remote shell...failed=20=20 > Tramp: Opening connection for root@ using su...failed=20=20 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.