GNU bug report logs - #16374
password not hidden in shell when mounting cifs partition

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Tyler Smith <tyler@HIDDEN>; dated Mon, 6 Jan 2014 16:53:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 6 Jan 2014 16:52:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 06 11:52:50 2014
Received: from localhost ([127.0.0.1]:38827 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1W0DQ1-0003Tn-JC
	for submit <at> debbugs.gnu.org; Mon, 06 Jan 2014 11:52:50 -0500
Received: from eggs.gnu.org ([208.118.235.92]:59882)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <sedgeboy@HIDDEN>) id 1W0DHH-0003EP-Nx
 for submit <at> debbugs.gnu.org; Mon, 06 Jan 2014 11:43:49 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <sedgeboy@HIDDEN>) id 1W0DHC-0005Uq-Hw
 for submit <at> debbugs.gnu.org; Mon, 06 Jan 2014 11:43:47 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:38382)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <sedgeboy@HIDDEN>) id 1W0DHC-0005Um-F5
 for submit <at> debbugs.gnu.org; Mon, 06 Jan 2014 11:43:42 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:33346)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <sedgeboy@HIDDEN>) id 1W0DHB-0001S7-6J
 for bug-gnu-emacs@HIDDEN; Mon, 06 Jan 2014 11:43:42 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <sedgeboy@HIDDEN>) id 1W0DH9-0005UD-LU
 for bug-gnu-emacs@HIDDEN; Mon, 06 Jan 2014 11:43:41 -0500
Received: from mail-pa0-x233.google.com ([2607:f8b0:400e:c03::233]:36624)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <sedgeboy@HIDDEN>) id 1W0DH9-0005Tx-DY
 for bug-gnu-emacs@HIDDEN; Mon, 06 Jan 2014 11:43:39 -0500
Received: by mail-pa0-f51.google.com with SMTP id fa1so18824958pad.38
 for <bug-gnu-emacs@HIDDEN>; Mon, 06 Jan 2014 08:43:36 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:sender:date:message-id:subject:from:to:content-type;
 bh=/AvTXqQfP86qQqk18vnMPWgTmpO620LU20pn/eJqMf4=;
 b=gkLNfFrVShB2yVLNc8lCtHyY0gB+gR9bkbN5rJrbZR4Ge7kufUnUW3H/LnijmcgvK/
 FDv9/YBH7wZ3QSfYPpo/n3dsbLCoZY1rXuzTof2FGg73H/XWGJF2AIwPtE8bDp/U0BC3
 L4pEfHWqqkziZ9weE3nvW+mhQcGs3Bm4Ew1d1JNVjS/OWWAjGFpwevxBxesp9ECrrqc1
 1pnuGTB/ca7xjxv33wAXj3buWvTj/yvtLZYyEHW9SfzWBt90NgdppjOtEbb1M61sykO2
 zlXZ7vAHvObXZYGiVthhyS8emCjnhxSQAHih5FdHEgK1Kam0z1AfsG9P2BtFXIEQWOAR
 F2Dg==
MIME-Version: 1.0
X-Received: by 10.68.134.130 with SMTP id pk2mr3390790pbb.167.1389026616696;
 Mon, 06 Jan 2014 08:43:36 -0800 (PST)
Received: by 10.66.189.129 with HTTP; Mon, 6 Jan 2014 08:43:36 -0800 (PST)
Date: Mon, 6 Jan 2014 11:43:36 -0500
X-Google-Sender-Auth: X05V-aRhhJFfNoNCnZvzbTifnUM
Message-ID: <CADkt+Zs14sjVpKfLg4XCWeXNYjZcQTvhQs3zAXYD_renvbmZtQ@HIDDEN>
Subject: password not hidden in shell when mounting cifs partition
From: Tyler Smith <tyler@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Content-Type: text/plain; charset=ISO-8859-1
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Mon, 06 Jan 2014 11:52:46 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

I'm not sure if this is really an Emacs bug, or just a limitation of *shell*

Starting from emacs -Q:
M-x shell
mount ./network-drive
;; (fstab for this drive is:
//<network.location>/<folder>$/     /home/user/network-drive      cifs
noauto,users,user=<my username on the network>,uid=<my local
username>,rw     0       0
;; )

;; I am now prompted for my network password. When I enter it and press
;; return I see this:
Password for <user>@//<network.location>/<folder>$/:  <my password in
plain text>
********

The point is, the asterisks should be appearing in place of my actual
password. Instead, they appear in addition to my password.

Thanks for your time,

Tyler

In GNU Emacs 24.3.50.1 (i686-pc-linux-gnu, GTK+ Version 3.8.6)
 of 2013-12-31 on ONOTTAR654746
Bzr revision: 115821 eliz@HIDDEN
Windowing system distributor `The X.Org Foundation', version 11.0.11405000
System Description: Debian GNU/Linux unstable (sid)

Important settings:
  value of $LANG: en_CA.utf8
  locale-coding-system: utf-8-unix

Major mode: Shell

Minor modes in effect:
  shell-dirtrack-mode: t
  tooltip-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-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
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-o M-x M-x s h e l l <return> m o u n t SPC n - <tab>
<return> n o t m y r e a l p a s s w o r d <return> M-o C-g M-x
r e p o <tab> r t <tab> <return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
M-o M-x is undefined
M-o C-g is undefined
Making completion list...

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util
help-fns mail-prsvr mail-utils help-mode easymenu pcmpl-linux shell
pcomplete comint ansi-color ring time-date tooltip electric uniquify
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
prog-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 nadvice 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 gfilenotify dynamic-setting system-font-setting
font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)




Acknowledgement sent to Tyler Smith <tyler@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#16374; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

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