comint-watch-for-password-prompt does not catch sudo prompt
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
emacs22 (Ubuntu) |
Fix Released
|
Undecided
|
Michael Olson |
Bug Description
Binary package hint: emacs22
The password prompt in sudo changed between feisty and gutsy, but the default comint-
Fix: in comint.el,
<pre>
(defcustom comint-
"\\(\\([Oo]ld \\|[Nn]ew \\|'s \\|login \\|Kerberos \\|CVS \\|UNIX \\| SMB \\|\\[sudo\\] \\|^\\)
"*Regexp matching prompts for passwords in the inferior process.
This is used by `comint-
:type 'regexp
:group 'comint)
</pre>
Related branches
CVE References
Changed in emacs22: | |
assignee: | nobody → mwolson |
status: | Confirmed → In Progress |
I noticed this problem as well, but didn't test that regex yet.