GNU bug report logs - #17726
24.3; tramp password

Previous Next

Package: emacs;

Reported by: Евгений Марков <rtfupi <at> mail.ru>

Date: Sat, 7 Jun 2014 17:09:02 UTC

Severity: normal

Found in version 24.3

Fixed in version 24.4

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 17726 in the body.
You can then email your comments to 17726 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#17726; Package emacs. (Sat, 07 Jun 2014 17:09:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Евгений Марков <rtfupi <at> mail.ru>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 07 Jun 2014 17:09:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Евгений Марков <rtfupi <at> mail.ru>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3; tramp password
Date: Sat, 07 Jun 2014 20:04:31 +0400
[Message part 1 (text/plain, inline)]
 This bug report will be sent to the Bug-GNU-Emacs mailing list
and the GNU bug tracker at debbugs.gnu.org.  Please check that
the From: line contains a valid email address.  After a delay of up
to one day, you should receive an acknowledgment at that address.

Please write in English if possible, as the Emacs maintainers
usually do not have translators for other languages.

Please describe exactly what actions triggered the bug, and
the precise symptoms of the bug.  If you can, give a recipe
starting from `emacs -Q':

if eval (dired "/sudo:root <at> localhost:") then the password is hidden
if eval (dired "/sudo:root <at> localhost:/") then the password isn't hidden



In GNU Emacs 24.3.1 (i686-pc-linux-gnu, GTK+ Version 2.24.23)
 of 2014-06-07 on black
Windowing system distributor `The X.Org Foundation', version 11.0.11403000
Configured using:
 `configure '--prefix=/usr' '--build=i686-pc-linux-gnu'
 '--host=i686-pc-linux-gnu' '--mandir=/usr/share/man'
 '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc'
 '--localstatedir=/var/lib' '--disable-silent-rules'
 '--disable-dependency-tracking' '--program-suffix=-emacs-24'
 '--infodir=/usr/share/info/emacs-24' '--localstatedir=/var'
 '--enable-locallisppath=/etc/emacs:/usr/share/emacs/site-lisp'
 '--with-crt-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib'
 '--with-gameuser=games' '--without-compress-info' '--without-hesiod'
 '--without-kerberos' '--without-kerberos5' '--with-gpm' '--with-dbus'
 '--without-gnutls' '--without-xml2' '--without-selinux'
 '--without-wide-int' '--with-sound' '--with-x' '--without-ns'
 '--without-gconf' '--without-gsettings' '--with-toolkit-scroll-bars'
 '--without-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff'
 '--with-xpm' '--without-imagemagick' '--with-xft' '--without-libotf'
 '--without-m17n-flt' '--with-x-toolkit=gtk2'
 'GENTOO_PACKAGE=app-editors/emacs-24.3-r6'
 'build_alias=i686-pc-linux-gnu' 'host_alias=i686-pc-linux-gnu'
 'CFLAGS=-O2 -march=i686 -pipe' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed'
 'CPPFLAGS=''

Important settings:
  value of $LC_ALL: 
  value of $LC_MESSAGES: POSIX
  value of $LC_NUMERIC: POSIX
  value of $LANG: ru_RU.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Emacs-Lisp

Minor modes in effect:
  shell-dirtrack-mode: t
  recentf-mode: t
  yas-global-mode: t
  yas-minor-mode: t
  global-auto-complete-mode: t
  auto-complete-mode: t
  ergoemacs-mode: t
  delete-selection-mode: t
  display-time-mode: t
  desktop-save-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-l M-l M-l M-l M-l M-l M-l M-l M-l M-l M-l SPC ( ) 
M-l M-i M-l M-l M-l M-l M-l M-l M-l M-l M-l M-l M-l 
M-l M-l M-l M-l M-l M-l M-l M-l M-l M-l M-l M-l M-l 
M-l M-l M-l M-l M-l M-l M-l M-l M-l M-l M-l M-l M-l 
M-i M-i M-l M-k M-j M-j M-j M-j M-j M-j M-j M-j M-j 
M-j M-j M-j M-j M-j M-j M-j M-j <return> M-i | SPC 
<f33> C g <tab> SPC b c g h f d k t y y j u j <f33> 
: M-j M-k M-l M-i M-l M-l - SPC M-j M-j M-f M-l M-l 
M-l M-l M-l M-l M-l M-l M-l M-l M-l M-l M-l M-l M-l 
M-l M-l M-l M-l M-l M-l M-i M-i M-l M-l M-l M-l M-l 
M-l M-l M-l M-l M-l M-l M-l M-l M-l M-l M-l M-l M-l 
M-l M-l M-j SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC 
SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC 
SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC 
SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC | M-k SPC SPC 
SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC 
SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC 
SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC 
SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC | M-h M-i M-i 
M-i M-SPC M-k M-k M-k M-k M-k M-i M-k C-c M-c C-x C-s 
M-a <up> <down> <help-echo> <down-mouse-2> <mouse-2> 
<left> <left> <left> <left> <left> <left> <left> <left> 
<left> <left> <left> <left> <left> <left> <left> <left> 
<left> <left> <left> <left> <delete> <delete> <delete> 
<delete> <return>

Recent messages:
Tramp: Sending command `exec sudo -u root -s -H -p Password:'
Tramp: Found remote shell prompt on `localhost'
Tramp: Opening connection for root <at> localhost using sudo...done
Matches     (or pass default ""))))) [110] [2 times]
Mark set [3 times]
Auto-saving...done
Mark set
(#(".--------------------------------------------------------------------." 0 70 (fontified t)) #("| Проверять, может быть уже исправили!!!!!!!!!!!!!!                  |" 0 70 (fontified t)) #("| Список исправленного:                                              |" 0 1 (fontified t) 1 2 (fontified t) 2 8 (fontified t) 8 23 (fontified t) 23 70 (fontified t)) #("|   read-passwd ()                                                   |" 0 1 (fontified t) 1 4 (fontified t) 4 14 (fontified t) 14 15 (rear-nonsticky t fontified t) 15 18 (fontified t) 18 70 (fontified t)) #("'--------------------------------------------------------------------'" 0 70 (fontified t)))
Saving file /home/mark/.emacs.d/24/4all/.emacs...
Wrote /home/mark/.emacs.d/24/4all/.emacs

Load-path shadows:
~/.emacs.d/el-get/el-get/.dir-locals hides /usr/share/emacs/24.3/lisp/gnus/.dir-locals
/home/mark/.local/share/emacs/24/hosts/4all/browse-kill-ring+ hides /home/mark/.local/share/emacs/lisp/browse-kill-ring+
/usr/share/emacs/24.3/lisp/ls-lisp hides /home/mark/.local/share/emacs/lisp/ls-lisp
/home/mark/.local/share/emacs/24/hosts/4all/browse-kill-ring hides /home/mark/.local/share/emacs/lisp/browse-kill-ring
/usr/share/emacs/24.3/lisp/proced hides /home/mark/.local/share/emacs/lisp/proced
/home/mark/.local/share/emacs/24/hosts/4all/emacs.files/my-w3m hides /home/mark/.local/share/emacs/lisp/emacs.files/my-w3m
/home/mark/.local/share/emacs/24/hosts/4all/emacs.files/my-tramp hides /home/mark/.local/share/emacs/lisp/emacs.files/my-tramp
/home/mark/.local/share/emacs/24/hosts/4all/emacs.files/my-ispell hides /home/mark/.local/share/emacs/lisp/emacs.files/my-ispell
/home/mark/.local/share/emacs/24/hosts/4all/emacs.files/my-desktop hides /home/mark/.local/share/emacs/lisp/emacs.files/my-desktop
/home/mark/.local/share/emacs/24/hosts/4all/emacs.files/my-gnus hides /home/mark/.local/share/emacs/lisp/emacs.files/my-gnus
/home/mark/.local/share/emacs/24/hosts/4all/emacs.files/my-usr1-signal hides /home/mark/.local/share/emacs/lisp/emacs.files/my-usr1-signal
/home/mark/.local/share/emacs/24/hosts/4all/emacs.files/my-gdb hides /home/mark/.local/share/emacs/lisp/emacs.files/my-gdb
/home/mark/.local/share/emacs/24/hosts/4all/emacs.files/my-skeleton hides /home/mark/.local/share/emacs/lisp/emacs.files/my-skeleton
/home/mark/.local/share/emacs/24/hosts/4all/emacs.files/my-octave hides /home/mark/.local/share/emacs/lisp/emacs.files/my-octave
/home/mark/.local/share/emacs/24/hosts/4all/emacs.files/my-server hides /home/mark/.local/share/emacs/lisp/emacs.files/my-server
/home/mark/.local/share/emacs/24/hosts/black/emacs.files/my-multibyte hides /home/mark/.local/share/emacs/lisp/emacs.files/my-multibyte
/home/mark/.local/share/emacs/24/hosts/4all/emacs.files/my-tcl hides /home/mark/.local/share/emacs/lisp/emacs.files/my-tcl
/home/mark/.local/share/emacs/24/hosts/4all/emacs.files/my-changelog hides /home/mark/.local/share/emacs/lisp/emacs.files/my-changelog
/home/mark/.local/share/emacs/24/hosts/4all/multi-term hides /home/mark/.local/share/emacs/24/hosts/4all/multi-term/multi-term
/usr/share/emacs/24.3/lisp/progmodes/octave-inf hides /home/mark/.local/share/emacs/lisp/octave/octave-inf
/usr/share/emacs/24.3/lisp/progmodes/octave-mod hides /home/mark/.local/share/emacs/lisp/octave/octave-mod

Features:
(shadow mail-extr emacsbug message idna rfc822 mml mml-sec mm-decode
mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader
sendmail rfc2047 rfc2045 ietf-drums mail-utils executable thingatpt
tramp-cache tramp-sh face-remap evm-linen-theme fill-column-indicator
my-customize my-usr1-signal my-prj evm-prj my-gdb evm-gdb
evm-gdb-breakpoint my-resize-font my-quick-help evm-quick-help my-server
my-diary evm-diary-add my-ispell ispell my-compile compile my-octave
octave-inf octave-mod smie my-hexfile hexfile-mode my-msp430_mspgcc
my-tcl tcl my-c cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles
cc-align cc-engine cc-vars cc-defs my-lisp my-www browse-url
my-browse-kill-ring browse-kill-ring+ browse-kill-ring my-mic-paren
paren mic-paren my-pager pager my-pc-key pc-keys my-dired sunrise-x-tree
sunrise-commander tramp tramp-compat auth-source eieio gnus-util mm-util
mail-prsvr password-cache tramp-loaddefs shell esh-var esh-io esh-cmd
esh-opt esh-ext esh-proc esh-arg eldoc esh-groups eshell esh-util
esh-module esh-mode dired-aux sort hl-line find-dired enriched dired-x
dired-sort my-recentf evm-recentf recentf tree-widget my-bs bs
my-fntification my-multibyte-23 quail fullboxquote my-bookmark
evm-bookmark-add bookmark my-rectangle rect-mark my-comint my-other
my-browser-ext org-install my-double-click evm-double-click
my-save-history save-history my-popup-menu evm-text-menu evm-popup-menu
my-key-bind my-el-get my-term multi-term term disp-table ehelp electric
yasnippet folding-isearch folding auto-complete-config auto-complete
popup .loaddefs my-el-get-add el-get el-get-autoloads
el-get-list-packages el-get-dependencies el-get-build el-get-status pp
el-get-methods el-get-fossil el-get-svn el-get-pacman el-get-github-zip
el-get-github-tar el-get-http-zip el-get-http-tar el-get-hg el-get-go
el-get-git-svn el-get-fink el-get-emacswiki el-get-http el-get-notify
help-mode el-get-emacsmirror el-get-github el-get-git el-get-elpa
package cl-macs el-get-darcs el-get-cvs el-get-bzr el-get-brew
el-get-builtin el-get-apt-get el-get-recipes el-get-byte-compile
el-get-custom el-get-core autoload dired my-org remember org-remember
org-datetree org byte-opt warnings bytecomp byte-compile cconv ob-tangle
ob-ref ob-lob ob-table org-footnote org-src ob-comint ob-keys
org-pcomplete org-list org-faces org-entities noutline outline
org-version ob-emacs-lisp ob org-compat org-macs ob-eval org-loaddefs
format-spec find-func cal-menu calendar cal-loaddefs my-tramp my-desktop
my-ergoemacs ergoemacs-mode easy-mmode delsel my-pcomplete evm-pcomplete
advice help-fns advice-preload view pcomplete comint ansi-color ring
evm-lib gv derived edmacro kmacro cl cl-lib my-emacs-nw my-return-key
my-start-utils my-emacs-fix saveplace time desktop time-date cus-edit
easymenu cus-start cus-load wid-edit cyril-util tooltip ediff-hook
vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image
regexp-opt fringe tabulated-list newcomment lisp-mode register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core frame cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process dbusbind dynamic-setting
font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)



-- 
Eugene Markov
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17726; Package emacs. (Sun, 08 Jun 2014 08:50:02 GMT) Full text and rfc822 format available.

Message #8 received at 17726 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Евгений Марков <rtfupi <at> mail.ru>
Cc: 17726 <at> debbugs.gnu.org
Subject: Re: bug#17726: 24.3; tramp password
Date: Sun, 08 Jun 2014 10:49:44 +0200
Евгений Марков <rtfupi <at> mail.ru> writes:

Hi,

> if eval (dired "/sudo:root <at> localhost:") then the password is hidden
> if eval (dired "/sudo:root <at> localhost:/") then the password isn't
> hidden

I have problems to understand your report. What do you mean with "the
password is / isn't hidden"?

Do you mean the password is shown literally, when you type it in the
minibuffer? Or do you mean you don't get a password prompt in one of the
cases? Something else?

Best regards, Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17726; Package emacs. (Sun, 08 Jun 2014 23:07:02 GMT) Full text and rfc822 format available.

Message #11 received at 17726 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 17726 <at> debbugs.gnu.org,
 Евгений Марков <rtfupi <at> mail.ru>
Subject: Re: bug#17726: 24.3; tramp password
Date: Sun, 08 Jun 2014 19:06:46 -0400
Michael Albinus wrote:

>> if eval (dired "/sudo:root <at> localhost:") then the password is hidden
>> if eval (dired "/sudo:root <at> localhost:/") then the password isn't hidden

I guess he means: both cases prompt you for a password.
In the former case, the password characters that you type are replaced
by "."
In the latter case, the password characters are not hidden.

I see this in 24.3, but not in the 24.3.91 pretest, or the current
trunk, so it seems this is already fixed.




bug marked as fixed in version 24.4, send any further explanations to 17726 <at> debbugs.gnu.org and Евгений Марков <rtfupi <at> mail.ru> Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 08 Jun 2014 23:43:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17726; Package emacs. (Mon, 09 Jun 2014 09:34:01 GMT) Full text and rfc822 format available.

Message #16 received at 17726-done <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 17726-done <at> debbugs.gnu.org,
 Евгений Марков <rtfupi <at> mail.ru>
Subject: Re: bug#17726: 24.3; tramp password
Date: Mon, 09 Jun 2014 11:33:19 +0200
Glenn Morris <rgm <at> gnu.org> writes:

> Michael Albinus wrote:
>
>>> if eval (dired "/sudo:root <at> localhost:") then the password is hidden
>>> if eval (dired "/sudo:root <at> localhost:/") then the password isn't hidden
>
> I guess he means: both cases prompt you for a password.
> In the former case, the password characters that you type are replaced
> by "."
> In the latter case, the password characters are not hidden.
>
> I see this in 24.3, but not in the 24.3.91 pretest, or the current
> trunk, so it seems this is already fixed.

Indeed, I could reproduce this behaviour with 24.3 as well. I did debug
it down to `password-read' of password-cache.el, which is called in both
cases. Don't know, what let's behave that function differently.

And with 24.3.91 / 24.4.50 it doesn't happen anymore, so I'm closing the bug.

Best regards, Michael.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 07 Jul 2014 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 43 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.