GNU bug report logs - #13124
add non-English regexps to comint-password-prompt-regexp for sudo password prompt

Previous Next

Package: emacs;

Reported by: arne_bab <at> web.de

Date: Sat, 8 Dec 2012 13:29:01 UTC

Severity: normal

Found in version 24.1

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Arne Babenhauserheide <arne_bab <at> web.de>
To: Kenichi Handa <handa <at> gnu.org>
Cc: 13124 <at> debbugs.gnu.org, rgm <at> gnu.org
Subject: bug#13124: 24.1; shell-mode does not hide sudo password prompts
Date: Thu, 13 Dec 2012 17:14:10 +0100
[Message part 1 (text/plain, inline)]
Am Donnerstag, 13. Dezember 2012, 23:14:19 schrieb Kenichi Handa:
> In article <2937464.OIdV3OoAVt <at> fluss>, Arne Babenhauserheide 
<arne_bab <at> 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 )


[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 11 years and 130 days ago.

Previous Next


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