GNU bug report logs -
#24231
25.1.1: sudo displays password
Previous Next
Reported by: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
Date: Mon, 15 Aug 2016 09:22:02 UTC
Severity: normal
Tags: notabug
Found in version 25.1.1
Done: Michael Albinus <michael.albinus <at> gmx.de>
Bug is archived. No further changes may be made.
Full log
Message #30 received at 24231-done <at> debbugs.gnu.org (full text, mbox):
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 <michael.albinus <at> gmx.de> 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.
This bug report was last modified 8 years and 359 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.