Subject: Re: bug#24817: comint-mode and 'SUDO password' prompt

From: Glenn Morris <[email-masked]>
Date: Thu, 23 Feb 2017 17:14:20 -0500

Version: 26.1

commit 581c4d1 (HEAD, master)
Date:   Thu Feb 23 17:12:49 2017 -0500

    * lisp/comint.el (comint-password-prompt-regexp): Add SUDO. (Bug#24817)

diff --git a/lisp/comint.el b/lisp/comint.el
index 830f4ca..7bac305 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -356,7 +356,7 @@ This variable is buffer-local."
    (regexp-opt
     '("Enter" "enter" "Enter same" "enter same" "Enter the" "enter the"
       "Old" "old" "New" "new" "'s" "login"
-      "Kerberos" "CVS" "UNIX" " SMB" "LDAP" "PEM"
+      "Kerberos" "CVS" "UNIX" " SMB" "LDAP" "PEM" "SUDO"
       "[sudo]" "Repeat" "Bad" "Retype")
     t)
    " +\\)"