[Top][All Lists]

[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 10:48:58 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Icedove/45.2.0

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.



On 17.08.2016 09:42, Michael Albinus wrote:
Michael Albinus <address@hidden> 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.

reply via email to

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