Subject: Re: bug#24231: 25.1.1: sudo displays password

From: Andreas Röhler <[email-masked]>
Date: Wed, 17 Aug 2016 10:48:58 +0200

reopen 24231

Hallo Michael,

sorry continuing so late.

Checked with eshell, which hides the password, displaying just spots.

 From there think it would be worth fixing it at Emacs-shell.

Looks like a solution is in esh-mode.el:

(defun eshell-send-invisible ()
   "Read a string without echoing.

Best,

Andreas

On 17.08.2016 09:42, Michael Albinus wrote:
> Michael Albinus <[email-masked]> writes:
>
> Hi Andreas,
>>> Should it not be possible to suppress the plain echo in all cases
>>> following "sudo"?
>>> As the QT-shell does IIUC.
>> That's not Emacs' job. As shown by my examples, you might be able to
>> configure the sudo password prompt yourself. A simple
>>
>> (setenv "SUDO_PROMPT" "password: ")
>>
>> in your .emacs would suffice.
> I'm closing the bug, because it is not an Emacs error.
>
> Best regards, Michael.