From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Arne Babenhauserheide Newsgroups: gmane.emacs.bugs Subject: bug#13124: 24.1; shell-mode does not hide sudo password prompts Date: Thu, 13 Dec 2012 17:14:10 +0100 Message-ID: <1600628.L9LasExCbx@fluss> References: <87obhy6nus.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart10779992.XLqnTC6Wn6"; micalg="pgp-sha256"; protocol="application/pgp-signature" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1355415328 24283 80.91.229.3 (13 Dec 2012 16:15:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Dec 2012 16:15:28 +0000 (UTC) Cc: 13124@debbugs.gnu.org To: Kenichi Handa Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 13 17:15:40 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TjBRb-0005Ph-0J for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Dec 2012 17:15:31 +0100 Original-Received: from localhost ([::1]:44316 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TjBRN-0007Uu-Nd for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Dec 2012 11:15:17 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:56678) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TjBRK-0007Rn-9x for bug-gnu-emacs@gnu.org; Thu, 13 Dec 2012 11:15:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TjBRF-0007Go-Ny for bug-gnu-emacs@gnu.org; Thu, 13 Dec 2012 11:15:14 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59101) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TjBRF-0007Gi-Ks for bug-gnu-emacs@gnu.org; Thu, 13 Dec 2012 11:15:09 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TjBS6-00040J-Ae for bug-gnu-emacs@gnu.org; Thu, 13 Dec 2012 11:16:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Arne Babenhauserheide Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Dec 2012 16:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13124 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13124-submit@debbugs.gnu.org id=B13124.135541530915297 (code B ref 13124); Thu, 13 Dec 2012 16:16:02 +0000 Original-Received: (at 13124) by debbugs.gnu.org; 13 Dec 2012 16:15:09 +0000 Original-Received: from localhost ([127.0.0.1]:41119 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TjBRF-0003yf-6j for submit@debbugs.gnu.org; Thu, 13 Dec 2012 11:15:09 -0500 Original-Received: from mout.web.de ([212.227.15.4]:60483) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TjBRC-0003yX-JX for 13124@debbugs.gnu.org; Thu, 13 Dec 2012 11:15:07 -0500 Original-Received: from fluss.localnet ([212.255.40.27]) by smtp.web.de (mrweb003) with ESMTPSA (Nemesis) id 0LnBD3-1TCqLP43FF-00h6cB; Thu, 13 Dec 2012 17:14:11 +0100 User-Agent: KMail/4.9.4 (Linux/3.3.8-gentoo; KDE/4.9.4; x86_64; ; ) In-Reply-To: <87obhy6nus.fsf@gnu.org> X-Provags-ID: V02:K0:rsJkjrjxFelsmBffCOp8+X4lWj24lxOUfUWiewGscnK DGneEUFeug00DWrMAOM5rL3DvQb5KKuhROuqzeMHT/d7UNheyz iHuHCM3NGXIqmIlw9grHlCau0DIDknydjLWeC/ohL7P9u/aFlQ cDbSm6j0kIAOv/Cc3kggPPQUgN4ZSTc/6g30ckFjtKXZE37Hnc vcRY5zGswUMb3QgobAJ+A== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:68459 Archived-At: --nextPart10779992.XLqnTC6Wn6 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Am Donnerstag, 13. Dezember 2012, 23:14:19 schrieb Kenichi Handa: > In article <2937464.OIdV3OoAVt@fluss>, Arne Babenhauserheide=20 writes: > > I installed emacs for a collegue and the visible password is the ma= jor > > reason why he switches to the quite inconvenient term/ansi-term mod= e > > instead of shell. > >=20 > > So I think it is very relevant: It=E2=80=99s a matter of good defau= lts to never > > show the Password your user types. Especially not (quasi-)root pass= words. > It seems to be difficult to setup > comint-password-prompt-regexp for all variations of prompts > for password. How about using this kind of code (incomplete)? =E2=80=A6 > One can type C-c p when the shell buffer displays a prompt > for password without letting user enter a password in the > minibuffer. That does not feel perfect, but it is better than the current situation= , I=20 think. I would prefer the shell to recognice the language setting and u= se that=20 to select additional password-request matching. Best wishes, Arne -- A man in the streets faces a knife. Two policemen are there it once. They raise a sign: =E2=80=9CIllegal Scene! Noone may watch this!=E2=80=9D The man gets robbed and stabbed and bleeds to death. The police had to hold the sign. =E2=80=A6Welcome to Europe, citizen. Censorship is beautiful. ( http://draketo.de/stichwort/censorship ) --nextPart10779992.XLqnTC6Wn6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iJwEAAEIAAYFAlDJ/tIACgkQ3M8NswvBBUilrwP/V66xFj1L6b7uryaoC782hUKS /R1Ny6HyF11ru1RFAw9jtAJYsnXQpyKRJhHyJKITpKN0LIuyV13evip3QLMMX0bW lmVLHSVjqPisddjwkBCugtPiR3vXo8M7km+HRVt85uMTcLrLXhZdwGxaUHRlvvWs jVSextopLpsLUYiWuXs= =87dQ -----END PGP SIGNATURE----- --nextPart10779992.XLqnTC6Wn6--