all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Arne Babenhauserheide <arne_bab@web.de>
To: Kenichi Handa <handa@gnu.org>
Cc: 13124@debbugs.gnu.org
Subject: bug#13124: 24.1; shell-mode does not hide sudo password prompts
Date: Thu, 13 Dec 2012 17:14:10 +0100	[thread overview]
Message-ID: <1600628.L9LasExCbx@fluss> (raw)
In-Reply-To: <87obhy6nus.fsf@gnu.org>

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

Am Donnerstag, 13. Dezember 2012, 23:14:19 schrieb Kenichi Handa:
> In article <2937464.OIdV3OoAVt@fluss>, Arne Babenhauserheide 
<arne_bab@web.de> writes:
> > I installed emacs for a collegue and the visible password is the major
> > reason why he switches to the quite inconvenient term/ansi-term mode
> > instead of shell.
> > 
> > So I think it is very relevant: It’s a matter of good defaults to never
> > show the Password your user types. Especially not (quasi-)root passwords.

> 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)?
> 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 
think. I would prefer the shell to recognice the language setting and use that 
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:

    “Illegal Scene! Noone may watch this!”

The man gets robbed and stabbed and bleeds to death.
The police had to hold the sign.

…Welcome to Europe, citizen. Censorship is beautiful.

   ( http://draketo.de/stichwort/censorship )



[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 316 bytes --]

  reply	other threads:[~2012-12-13 16:14 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-08 13:27 bug#13124: 24.1; shell-mode does not hide sudo password prompts Arne Babenhauserheide
2012-12-08 19:24 ` Glenn Morris
2012-12-10 16:21   ` Arne Babenhauserheide
2012-12-10 17:00     ` Glenn Morris
2012-12-11  0:12       ` Arne Babenhauserheide
2012-12-11  4:55         ` Glenn Morris
2012-12-11 13:42           ` Arne Babenhauserheide
2012-12-13 14:14             ` Kenichi Handa
2012-12-13 16:14               ` Arne Babenhauserheide [this message]
2012-12-18 19:54         ` Stefan Monnier
2012-12-21  5:47           ` Chong Yidong
2012-12-21 14:03             ` Stefan Monnier
2012-12-21 14:05               ` Chong Yidong
2012-12-21 14:19                 ` Michael Albinus
2012-12-29  7:38                   ` Chong Yidong
2012-12-29  8:39                     ` Andreas Schwab
2012-12-29 10:22                     ` Vitalie Spinu
2012-12-29 16:40                       ` Michael Albinus
2014-01-16 14:50                     ` Arne Babenhauserheide
2014-01-17  8:38                       ` Michael Albinus
2014-01-17 14:11                         ` Stefan Monnier
2014-01-17 14:15                           ` Michael Albinus
2014-01-17 15:07                             ` Stefan Monnier
2014-01-17 15:44                               ` Michael Albinus
2014-01-17 18:31                                 ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1600628.L9LasExCbx@fluss \
    --to=arne_bab@web.de \
    --cc=13124@debbugs.gnu.org \
    --cc=handa@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.