bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#13124: 24.1; shell-mode does not hide sudo password prompts


From: Arne Babenhauserheide
Subject: bug#13124: 24.1; shell-mode does not hide sudo password prompts
Date: Thu, 13 Dec 2012 17:14:10 +0100
User-agent: KMail/4.9.4 (Linux/3.3.8-gentoo; KDE/4.9.4; x86_64; ; )

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: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]