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

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

bug#24231: 25.1.1: sudo displays password


From: Andreas Röhler
Subject: bug#24231: 25.1.1: sudo displays password
Date: Wed, 17 Aug 2016 12:07:42 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Icedove/45.2.0



On 17.08.2016 11:18, Michael Albinus wrote:
Andreas Röhler <andreas.roehler@easy-emacs.de> writes:

Hallo Michael,
Hi Andreas,

sorry continuing so late.

Checked with eshell, which hides the password, displaying just spots.
Eshell uses `eshell-password-prompt-regexp' for password watching, while
shell-mode uses `comint-password-prompt-regexp'.

 From there think it would be worth fixing it at Emacs-shell.
I don't know whether it is applicable to use the more simple
`eshell-password-prompt-regexp' in shell-mode. I guess there is a reason
to use `comint-password-prompt-regexp' there.

Why do you oppose to the solution I've proposed, setting "SUDO_PROMPT"
in your .emacs?

Being not opposed, just think that's not a solution in general.
Emacs should be safe without special configuration.

Anyway, should you close again, I'll not re-open, promised :)

Cheers,

Andreas





reply via email to

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