From unknown Sat Aug 16 15:58:12 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#16374 <16374@debbugs.gnu.org> To: bug#16374 <16374@debbugs.gnu.org> Subject: Status: password not hidden in shell when mounting cifs partition Reply-To: bug#16374 <16374@debbugs.gnu.org> Date: Sat, 16 Aug 2025 22:58:12 +0000 retitle 16374 password not hidden in shell when mounting cifs partition reassign 16374 emacs submitter 16374 Tyler Smith severity 16374 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 06 11:52:50 2014 Received: (at submit) by debbugs.gnu.org; 6 Jan 2014 16:52:50 +0000 Received: from localhost ([127.0.0.1]:38827 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W0DQ1-0003Tn-JC for submit@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 ) id 1W0DHH-0003EP-Nx for submit@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 ) id 1W0DHC-0005Uq-Hw for submit@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 ) id 1W0DHC-0005Um-F5 for submit@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 ) id 1W0DHB-0001S7-6J for bug-gnu-emacs@gnu.org; Mon, 06 Jan 2014 11:43:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W0DH9-0005UD-LU for bug-gnu-emacs@gnu.org; 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 ) id 1W0DH9-0005Tx-DY for bug-gnu-emacs@gnu.org; Mon, 06 Jan 2014 11:43:39 -0500 Received: by mail-pa0-f51.google.com with SMTP id fa1so18824958pad.38 for ; 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: Subject: password not hidden in shell when mounting cifs partition From: Tyler Smith To: bug-gnu-emacs@gnu.org 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@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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: ///$/ /home/user/network-drive cifs noauto,users,user=,uid=,rw 0 0 ;; ) ;; I am now prompted for my network password. When I enter it and press ;; return I see this: Password for @///$/: ******** 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@gnu.org-20131231160134-l7omrq232pdxvdnt 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 m o u n t SPC n - n o t m y r e a l p a s s w o r d M-o C-g M-x r e p o r t 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) From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 02 08:05:25 2019 Received: (at control) by debbugs.gnu.org; 2 Oct 2019 12:05:26 +0000 Received: from localhost ([127.0.0.1]:35645 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFdNl-0007qC-Nl for submit@debbugs.gnu.org; Wed, 02 Oct 2019 08:05:25 -0400 Received: from mail-pl1-f175.google.com ([209.85.214.175]:45608) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFdNj-0007py-OJ for control@debbugs.gnu.org; Wed, 02 Oct 2019 08:05:24 -0400 Received: by mail-pl1-f175.google.com with SMTP id u12so6956575pls.12 for ; Wed, 02 Oct 2019 05:05:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=gntvkw7a/V2s7fMWdSQ5TyBRJQecBmASEGnxeHAtN34=; b=EowBhPJPNuQDueF6TNselQr+DUR/QYbKcp3oAJhXIOFLEqfoVBz2i7coTm3ogEKQue plNtI0f+93/8vNGRpWGZ3jpBpzMu+FD+B3E71vTWEpk3GhOWxWn1Au3tiG3eNqDMk7br R6Gx0g9ngE3RxTaHuhYuASXlSyBqKPwEAnG7ZE+78UB37bwcXn8yWlg3G6G6o3RpUQqH UgcnwqvRs8OKM8Lx9AQj1XtqY6uXq+mpNkUUJN7jpF/VJwQp5YzHjPGezKIznb0Addnw kIDDdwOCKN67A7CP5W6IUayBWMSVyPZiy7Gy+6lJNrCs8zrnK1XndlZjqreJS/uckoAg FIjQ== X-Gm-Message-State: APjAAAXZVB4GBLRU0H+cqfeWZN8onxpjt4+gKgzYtLPUtrjPlpxwZvsO le6DvzMvI84CTlEG9rEoo7B6vptxJOcJ5FYj2ReI4bdRocU= X-Google-Smtp-Source: APXvYqxwEcv3L2H/QRL1jYOdTL7NzMpZw58ciNlvtRVrZhaEbCQ3IM29oduCJRkrIAv6eUK3ZwtZ9N48nwPosZngOY4= X-Received: by 2002:a17:902:d88f:: with SMTP id b15mr3191219plz.251.1570017917625; Wed, 02 Oct 2019 05:05:17 -0700 (PDT) MIME-Version: 1.0 From: Stefan Kangas Date: Wed, 2 Oct 2019 14:05:05 +0200 Message-ID: Subject: To: control@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 2.3 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: forcemerge 16374 20910 quit Content analysis details: (2.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (stefankangas[at]gmail.com) 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.214.175 listed in list.dnswl.org] 2.0 BLANK_SUBJECT Subject is present but empty 0.0 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: forcemerge 16374 20910 quit Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.214.175 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (stefankangas[at]gmail.com) 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 2.0 BLANK_SUBJECT Subject is present but empty 0.0 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different forcemerge 16374 20910 quit From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 05 21:29:20 2019 Received: (at control) by debbugs.gnu.org; 6 Oct 2019 01:29:20 +0000 Received: from localhost ([127.0.0.1]:45384 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iGvMO-0000tO-Cz for submit@debbugs.gnu.org; Sat, 05 Oct 2019 21:29:20 -0400 Received: from mail-pg1-f177.google.com ([209.85.215.177]:40685) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iGvMM-0000t9-UW for control@debbugs.gnu.org; Sat, 05 Oct 2019 21:29:19 -0400 Received: by mail-pg1-f177.google.com with SMTP id d26so5967518pgl.7 for ; Sat, 05 Oct 2019 18:29:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ZKa/u6LdHhceUtmx6VjdO7rtKDY3cAmLK2cWWgswmPQ=; b=QtpNGnyI70n9MOosV+CHtuWtcJ6N88L96jIrMpZ/K0fZ6ibEAFyLjAgPl6MLz9QJRk dji+mFnTvPnM37QUBDW3qvS3fsgeQ4ViI8hsuSsFYkmSFzWMCGKoq54kbmL6GVkHflfO +JNjqosz/mCh0bXhpNefX//ZKRB424XnYtf4BrsqTAfJy6ZY2lGlveBOtfVwqQMj3qF8 8mUuTP1OFN3LzCixRI1HCiLSy5Otj9ZnC5rJJ5Ftb7p5R/SwCEAV5SDMNMlNdNRngdUl baKgb7o0SYmkgO3ZPMHmPzBw08VId/bfd4Qr1KXcjgM1wz6XopVO0VYtSxkg+R7C8v4f 4NiQ== X-Gm-Message-State: APjAAAWCOATw9thivjuQcyjLDx+uOa/gScsqNVybp9DzJxat36drw4dk qWRLplQSfQ6XjOCw438EpJWA9MyWTHhoywOUPazVKn0n X-Google-Smtp-Source: APXvYqyw/+n8GzXqcbRzx9L1aBjtofvaq54wjtS6R3fcd3L+sWqWqOaS9oIbXKS8BOrFQHlBEQvkrRswXt1H9yeHcLQ= X-Received: by 2002:a65:5802:: with SMTP id g2mr24483806pgr.333.1570325352859; Sat, 05 Oct 2019 18:29:12 -0700 (PDT) MIME-Version: 1.0 From: Stefan Kangas Date: Sun, 6 Oct 2019 03:29:01 +0200 Message-ID: Subject: To: control@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 2.3 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: unmerge 16374 quit Content analysis details: (2.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (stefankangas[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.215.177 listed in list.dnswl.org] 0.0 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different 2.0 BLANK_SUBJECT Subject is present but empty X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: unmerge 16374 quit Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.215.177 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (stefankangas[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 0.0 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different 2.0 BLANK_SUBJECT Subject is present but empty unmerge 16374 quit From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 05 21:40:40 2019 Received: (at 16374) by debbugs.gnu.org; 6 Oct 2019 01:40:41 +0000 Received: from localhost ([127.0.0.1]:45400 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iGvXM-0003Fm-7C for submit@debbugs.gnu.org; Sat, 05 Oct 2019 21:40:40 -0400 Received: from mail-pg1-f180.google.com ([209.85.215.180]:38562) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iGvXK-0003FZ-72 for 16374@debbugs.gnu.org; Sat, 05 Oct 2019 21:40:38 -0400 Received: by mail-pg1-f180.google.com with SMTP id x10so5983815pgi.5 for <16374@debbugs.gnu.org>; Sat, 05 Oct 2019 18:40:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=IAXc62XWcWt9rhwupb+jU8i0G1tXATodf9imuxWzzDA=; b=eStwHHYPnBDAJODEhY1y7b8ikeqhdFFzaHTnkgP5w2gz9ECuA3+rN/JvYiXJa68g77 bSdSQS42+ub+JVT6cV0UMau/KJJ58J3Q8YW+AEdHbzK36Kbnz+vbZh5y4hcABVe4LC4q BFwvUWaFLpn7j4rNBOmzkggnUAPuxthQc1L76q9oL9Ompui98MXdm1cIJ2z4wAUrLi/z XOqlMWSr4FhJrMYK5m6zV9nmZSaQzq516ecVk5KG07+6sq2/m+lRMo87+Tkl8eW3lkQb pWWodbcmgwRiXSzRP51VAQXdPD6Sd2qermlkzyKXkXEON+q/J1XAIucliSy0kyUWdzxI j2fg== X-Gm-Message-State: APjAAAXFWj/bxJzoTbTtF6/QsYc7WzbLhOqxDJQHOws4N7IvV1JtwRA/ fJ93FYaYPxrF1pqAifR6ituQcjghQ+88fn0XhXIRTQ5m X-Google-Smtp-Source: APXvYqwsx1DTihzg9mrG5MFGmXpi+VvScvPbv1/POs3XnjV7BhEhF36a2fkebUPfosMduvNpaUihwaU9/GXGRZrjkPY= X-Received: by 2002:a65:5802:: with SMTP id g2mr24517551pgr.333.1570326032406; Sat, 05 Oct 2019 18:40:32 -0700 (PDT) MIME-Version: 1.0 From: Stefan Kangas Date: Sun, 6 Oct 2019 03:40:21 +0200 Message-ID: Subject: Re: bug#16374: password not hidden in shell when mounting cifs partition To: Tyler Smith Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 16374 Cc: 16374@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Tyler Smith writes: > 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: > ///$/ /home/user/network-drive cifs > noauto,users,user=,uid= username>,rw 0 0 > ;; ) > > ;; I am now prompted for my network password. When I enter it and press > ;; return I see this: > Password for @///$/: 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 Hi Tyler, Thanks for the bug report. Sorry that it went unanswered for so long. When I try the following on Emacs 26.1, I get no error: (progn (require 'comint) (string-match comint-password-prompt-regexp "Password for foo@//example.org/foo/bar$/: ")) This suggests to me that a prompt such as the above should work under M-x shell, since that is built on top of comint. Could you verify that this works for you on Emacs 26.1? Could you also please tell me if: "Password for foo@//example.org/foo/bar$/: " is a good example of the kind of prompt you get when mounting a cifs partition? (I'm trying to find a good example to add to the test suite for comint-password-prompt-regexp.) Best regards, Stefan Kangas From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 06 19:39:53 2019 Received: (at 16374-done) by debbugs.gnu.org; 7 Nov 2019 00:39:53 +0000 Received: from localhost ([127.0.0.1]:41454 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iSVq5-000814-Cy for submit@debbugs.gnu.org; Wed, 06 Nov 2019 19:39:53 -0500 Received: from host.gofardesign.uk ([208.79.239.190]:37477) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iSVq3-00080o-3n for 16374-done@debbugs.gnu.org; Wed, 06 Nov 2019 19:39:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=D16GdYoJJS467qoy0KW0fFKl1ChXKa9aqBIW3h5+XUo=; b=Wjoz+XcRFCyT3Km4Q6C+RULrLM rwELuSCW05udRgQ7B2LsbHd2koGkclQKWxC2zB3tZcZQqUJcsOVNo2tibQWRtHjytFxhaqrDJaYX6 6RFgyz6s1vP6QCYIYYjgHCojoi90i+OJ2HHXJpZeqBYVpUKvyOHT3A9nEx/GrwV/BecQ=; Received: from h-70-69.a785.priv.bahnhof.se ([155.4.70.69]:59478 helo=localhost) by host.gofardesign.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1iSVpt-0005dF-Pj; Wed, 06 Nov 2019 18:39:42 -0600 From: Stefan Kangas To: Tyler Smith Subject: Re: bug#16374: password not hidden in shell when mounting cifs partition In-Reply-To: (Stefan Kangas's message of "Sun, 6 Oct 2019 03:40:21 +0200") References: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Date: Thu, 07 Nov 2019 01:39:40 +0100 Message-ID: <87pni4wmcz.fsf@marxist.se> MIME-Version: 1.0 Content-Type: text/plain X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host.gofardesign.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: host.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: host.gofardesign.uk: stefan@marxist.se X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 16374-done Cc: 16374-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Stefan Kangas writes: > Tyler Smith writes: > >> 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: >> ///$/ /home/user/network-drive cifs >> noauto,users,user=,uid=> username>,rw 0 0 >> ;; ) >> >> ;; I am now prompted for my network password. When I enter it and press >> ;; return I see this: >> Password for @///$/: > 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 > > Hi Tyler, > > Thanks for the bug report. Sorry that it went unanswered for so long. > > When I try the following on Emacs 26.1, I get no error: > > (progn > (require 'comint) > (string-match comint-password-prompt-regexp > "Password for foo@//example.org/foo/bar$/: ")) > > This suggests to me that a prompt such as the above should work under > M-x shell, since that is built on top of comint. > > Could you verify that this works for you on Emacs 26.1? > > Could you also please tell me if: > > "Password for foo@//example.org/foo/bar$/: " > > is a good example of the kind of prompt you get when mounting a cifs > partition? (I'm trying to find a good example to add to the test > suite for comint-password-prompt-regexp.) The original issue seems to be solved here. More information was requested on how to write a test case for this, but none was given within 4 weeks. I'm therefore closing this bug. If someone could provide an example of what a CIFS prompt realistically looks like, please report back so we can add it to the test suite. Finally, if anyone is still seeing this on Emacs 27 despite the above, please reopen the bug report. Best regards, Stefan Kangas From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 07 10:25:24 2019 Received: (at 16374-done) by debbugs.gnu.org; 7 Nov 2019 15:25:24 +0000 Received: from localhost ([127.0.0.1]:43689 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iSjf2-0004i4-63 for submit@debbugs.gnu.org; Thu, 07 Nov 2019 10:25:24 -0500 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:52983) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iSjez-0004hp-Ty for 16374-done@debbugs.gnu.org; Thu, 07 Nov 2019 10:25:22 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id A288C21B01; Thu, 7 Nov 2019 10:25:15 -0500 (EST) Received: from imap4 ([10.202.2.54]) by compute4.internal (MEProxy); Thu, 07 Nov 2019 10:25:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=plantarum.ca; h= mime-version:message-id:in-reply-to:references:date:from:to:cc :subject:content-type; s=fm1; bh=/BGabGL8TjKG8uiCwenXB+Yftk5bU6z +lRfKvgZFvXc=; b=twme3TKjpNbb76PBevW+OozKTR0QTN3QudAA424HvZ0dNto YUEf2dmqKwRBfy9832C/HVYSDAS82hHixKhjv5H/BL4GHx4uzVAOkyGrFh8Bx3WM UTWGV4UxMXzZT4KhdJ5Xc5CSUEJcopyq+e2w55juuLS2SrmLa3zTadQi1EdDllKt oBfNAwbHyyPOWW6xYnsjzdrjRChYOBZIIMCZsbJMkIyAkJiRNkWOLHerFPVB25rb tXmcNAra9jNEgWQGpWNWPEkz7lndqMsFvd6B5vuOFq0f63VQkWZ0mbWAQgHsMIHs wyJIOqBOqeXIfEJBdQeoRaoC/SWKaCEMwUwgcIg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=/BGabG L8TjKG8uiCwenXB+Yftk5bU6z+lRfKvgZFvXc=; b=KfV0sbAPTo3ap71vb9Fxbx S67ezknBL+F/nUj4bIBSiLMny5OGoNvYRwFW16fDaJAedCe4wETeMNqC0ZgZzmGM HsvHPhSQEoL4VIoJSjkkJho5GhidzjDR6w/PruFSv/O8WbIaqBzDyxqQB7tZYVj0 zHEXsaaAusHYbtypFQJWueyU5o2vyr1adbi4N6XLYmXoi654eKDlY972Rkd6FuAw Q2q6GJ7KuN3i0Sbp6oETmbMND3+ExlLctdcRpT0R7RExTvcvvY9j5Or6yG73xudr fJxscilbPv1rDsEoA8YCyyK0f5rEXdNKwGUHKmkCEpZECLT5nAGNqOLUXLRQTuiw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudduledgjeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesthdtredtreerjeenucfhrhhomhepfdfvhihl vghrucfumhhithhhfdcuoehthihlvghrsehplhgrnhhtrghruhhmrdgtrgeqnecuffhomh grihhnpegvgigrmhhplhgvrdhorhhgnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthihl vghrsehplhgrnhhtrghruhhmrdgtrgenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 47DD03C00A1; Thu, 7 Nov 2019 10:25:15 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.1.7-509-ge3ec61c-fmstable-20191030v1 Mime-Version: 1.0 Message-Id: In-Reply-To: <87pni4wmcz.fsf@marxist.se> References: <87pni4wmcz.fsf@marxist.se> Date: Thu, 07 Nov 2019 10:24:32 -0500 From: "Tyler Smith" To: "Stefan Kangas" Subject: =?UTF-8?Q?Re:_bug#16374:_password_not_hidden_in_shell_when_mounting_cifs?= =?UTF-8?Q?_partition?= Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 16374-done Cc: 16374-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Wed, Nov 6, 2019, at 7:39 PM, Stefan Kangas wrote: > Stefan Kangas writes: > > > > Hi Tyler, > > > > Thanks for the bug report. Sorry that it went unanswered for so long. > > > > When I try the following on Emacs 26.1, I get no error: > > > > (progn > > (require 'comint) > > (string-match comint-password-prompt-regexp > > "Password for foo@//example.org/foo/bar$/: ")) > > > > This suggests to me that a prompt such as the above should work under > > M-x shell, since that is built on top of comint. > > > > Could you verify that this works for you on Emacs 26.1? Unfortunately I can't. Our IT has changed the file server, and the new system doesn't work at all for me, in Emacs or otherwise. > The original issue seems to be solved here. More information was > requested on how to write a test case for this, but none was given > within 4 weeks. I'm therefore closing this bug. Yes, sorry I didn't respond sooner. Since I can no longer reproduce the bug or provide any further info, closing it is entirely appropriate. Best, Tyler From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 07 18:55:55 2019 Received: (at 16374-done) by debbugs.gnu.org; 7 Nov 2019 23:55:55 +0000 Received: from localhost ([127.0.0.1]:44145 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iSrd4-0007B5-UV for submit@debbugs.gnu.org; Thu, 07 Nov 2019 18:55:55 -0500 Received: from mail-pf1-f182.google.com ([209.85.210.182]:43698) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iSrd3-0007Ar-FU for 16374-done@debbugs.gnu.org; Thu, 07 Nov 2019 18:55:53 -0500 Received: by mail-pf1-f182.google.com with SMTP id 3so3492916pfb.10 for <16374-done@debbugs.gnu.org>; Thu, 07 Nov 2019 15:55:53 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=RYb/J1Cc3euw58tYP9djhyb8NBc0VA2+WjlMZTENL58=; b=DGuxnvBhDqPk48fgE4cl5/+yK5EsnJ5spfLoOfOvO6TVKveMF/MkEFPv+vidbDtYDH 8786RuzT1y1JERNwG3BiLGHsBrXVAb92CtKtYcs0vjGFEJqT+idHyHhgeHWuoHGEzAR3 uoZzlOp1FSqrjYxhRWJXvvXgxf9hNZm01ymt2JFTk8qrs8005Q5njFVO7DSFKcfbUE/q o7l+3fvVYAC+5Flph2ldVoxvoTaD6vDZqiaQINQJxJdxmhzyAB9u7Ydmhso/hyAjnV3n FJBY9w8BCj1IUzXGIQnqnIcxr++7dHEi2Nq+rCbBWvOpeLCRmouI/0pblydj9etVs8ZW IGnw== X-Gm-Message-State: APjAAAUL/zZOH7igypJhHGi5W7eCBTNiJW3GJIfQBOB6DL+cBtriNui1 JbIt+Tq0YbI1odmuRcaKi3uwe4WQPwy4Cu5C3cE= X-Google-Smtp-Source: APXvYqzME72zRLl23jUFDI0BmKIiQdfgoUHnYC0JcwCJWwgbQT9KIqkUTFRYYLO0QAaWcmOi2cp8pBPsTNWvh8gYE9U= X-Received: by 2002:a63:a05c:: with SMTP id u28mr8395447pgn.333.1573170947488; Thu, 07 Nov 2019 15:55:47 -0800 (PST) MIME-Version: 1.0 References: <87pni4wmcz.fsf@marxist.se> In-Reply-To: From: Stefan Kangas Date: Fri, 8 Nov 2019 00:55:36 +0100 Message-ID: Subject: Re: bug#16374: password not hidden in shell when mounting cifs partition To: Tyler Smith Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.4 (/) X-Debbugs-Envelope-To: 16374-done Cc: 16374-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.6 (/) Tyler Smith writes: > Since I can no longer reproduce the bug or provide any further info, closing it is entirely appropriate. Thank you for reporting back, and for the initial bug report. Best regards, Stefan Kangas From unknown Sat Aug 16 15:58:12 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 06 Dec 2019 12:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator