unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#17726: 24.3; tramp password
@ 2014-06-07 16:04 Евгений Марков
  2014-06-08  8:49 ` Michael Albinus
  0 siblings, 1 reply; 4+ messages in thread
From: Евгений Марков @ 2014-06-07 16:04 UTC (permalink / raw)
  To: 17726

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

 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@localhost:") then the password is hidden
if eval (dired "/sudo:root@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@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

[-- Attachment #2: Type: text/html, Size: 13143 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#17726: 24.3; tramp password
  2014-06-07 16:04 bug#17726: 24.3; tramp password Евгений Марков
@ 2014-06-08  8:49 ` Michael Albinus
  2014-06-08 23:06   ` Glenn Morris
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Albinus @ 2014-06-08  8:49 UTC (permalink / raw)
  To: Евгений Марков
  Cc: 17726

Евгений Марков <rtfupi@mail.ru> writes:

Hi,

> if eval (dired "/sudo:root@localhost:") then the password is hidden
> if eval (dired "/sudo:root@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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#17726: 24.3; tramp password
  2014-06-08  8:49 ` Michael Albinus
@ 2014-06-08 23:06   ` Glenn Morris
  2014-06-09  9:33     ` Michael Albinus
  0 siblings, 1 reply; 4+ messages in thread
From: Glenn Morris @ 2014-06-08 23:06 UTC (permalink / raw)
  To: Michael Albinus
  Cc: 17726,
	Евгений Марков

Michael Albinus wrote:

>> if eval (dired "/sudo:root@localhost:") then the password is hidden
>> if eval (dired "/sudo:root@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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#17726: 24.3; tramp password
  2014-06-08 23:06   ` Glenn Morris
@ 2014-06-09  9:33     ` Michael Albinus
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Albinus @ 2014-06-09  9:33 UTC (permalink / raw)
  To: Glenn Morris
  Cc: 17726-done,
	Евгений Марков

Glenn Morris <rgm@gnu.org> writes:

> Michael Albinus wrote:
>
>>> if eval (dired "/sudo:root@localhost:") then the password is hidden
>>> if eval (dired "/sudo:root@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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-06-09  9:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-07 16:04 bug#17726: 24.3; tramp password Евгений Марков
2014-06-08  8:49 ` Michael Albinus
2014-06-08 23:06   ` Glenn Morris
2014-06-09  9:33     ` Michael Albinus

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).