* ubuntu 7.10 changes the 'sudo' password prompt
@ 2007-10-18 14:55 Chris Moore
2007-10-19 17:42 ` Richard Stallman
0 siblings, 1 reply; 3+ messages in thread
From: Chris Moore @ 2007-10-18 14:55 UTC (permalink / raw)
To: emacs-pretest-bug
The new 7.10 release of Ubuntu changes the 'sudo' password prompt, so
now it says:
[sudo] password for chris:
The following patch allows comint to recognise it as a password prompt:
*** lisp/Backup/comint.el.~1~ Wed Oct 17 00:40:06 2007
--- lisp/comint.el Thu Oct 18 16:52:59 2007
***************
*** 334,343 ****
;; ksu prints a prompt like `Kerberos password for devnull/root@GNU.ORG: '.
;; ssh-add prints a prompt like `Enter passphrase: '.
;; plink prints a prompt like `Passphrase for key "root@GNU.ORG": '.
;; Some implementations of passwd use "Password (again)" as the 2nd prompt.
(defcustom comint-password-prompt-regexp
"\\(\\([Oo]ld \\|[Nn]ew \\|'s \\|login \\|\
! Kerberos \\|CVS \\|UNIX \\| SMB \\|LDAP \\|^\\)\
\[Pp]assword\\( (again)\\)?\\|\
pass phrase\\|\\(Enter \\|Repeat \\|Bad \\)?[Pp]assphrase\\)\
\\(?:, try again\\)?\\(?: for [^:]+\\)?:\\s *\\'"
--- 334,344 ----
;; ksu prints a prompt like `Kerberos password for devnull/root@GNU.ORG: '.
;; ssh-add prints a prompt like `Enter passphrase: '.
;; plink prints a prompt like `Passphrase for key "root@GNU.ORG": '.
+ ;; Ubuntu's sudo prompts like `[sudo] password for user:'
;; Some implementations of passwd use "Password (again)" as the 2nd prompt.
(defcustom comint-password-prompt-regexp
"\\(\\([Oo]ld \\|[Nn]ew \\|'s \\|login \\|\
! Kerberos \\|CVS \\|UNIX \\| SMB \\|LDAP \\|\\[sudo] \\|^\\)\
\[Pp]assword\\( (again)\\)?\\|\
pass phrase\\|\\(Enter \\|Repeat \\|Bad \\)?[Pp]assphrase\\)\
\\(?:, try again\\)?\\(?: for [^:]+\\)?:\\s *\\'"
And uuencoded:
begin 644 sudo.patch.gz
M'XL("&US%T<"`W-U9&\N<&%T8V@`W9+?3]LP$,>?X:^XY:5I(&WZ`]C"0[>.
M"4V#MJ)TFQ0'S=1N&R6Q+=L9("'^]MEQ6N"!]XDHRITO7W_.=[X@"*#(E.B.
M\3*O1'?)RXSI#BTZ3[VGO5^4P'2IH7<"410/HS@ZAGX4G>R'8>BV[?1[UYO*
M:3]"[S@^ZL='GYPV>/W8-0P&P\/!<`!U`.#T%')5@9"&I0`;AY="FPPYA3\_
MJ+REDBL06*D[+@FLN`1"_[*J*+J2<_WY?++H3*_.8VAU'$VI38@)>8/XC6DJ
M:YS82*SH\SY19"Q_8]=LIZ\/D-,'\%YF]YXQ<UY2R$I1T)(RC77&F0*^<A40
MJ`S"FVVK\?$:9ZSM`5:@-Q3ZC#2)+<TG=+6LE.8EN%Z'VS:$3A1*NJ;WPD@!
M/(1\\R93GA8$$'I,)BRE=]9K*?LM^#ICUD'['V#76+/^^G-NS6+R_;>U,+\<
M6WMQ]F5F[0U";612H&0FTB:_2;0]N_D[JJ%0EPBN33:"?-=LXU]10;&VWAC;
MP[5'#6RK=AF0/XH/0<L'J-D.;6)UTY.;.#VPH1@A!0%"+:^>13=/0S!^^+[F
MZ<!B%K<5TY6Y0E41WE!4@TEL+'U=C!DP&;?>Z2PBU)3\G\_E/XG"T9-;!0``
`
end
Chris.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ubuntu 7.10 changes the 'sudo' password prompt
2007-10-18 14:55 ubuntu 7.10 changes the 'sudo' password prompt Chris Moore
@ 2007-10-19 17:42 ` Richard Stallman
2007-10-23 7:11 ` Glenn Morris
0 siblings, 1 reply; 3+ messages in thread
From: Richard Stallman @ 2007-10-19 17:42 UTC (permalink / raw)
To: emacs-pretest-bug; +Cc: Chris Moore
Would someone please install this, then ack?
Date: Thu, 18 Oct 2007 16:55:31 +0200
From: "Chris Moore" <christopher.ian.moore@gmail.com>
To: emacs-pretest-bug@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Disposition: inline
Cc:
Subject: ubuntu 7.10 changes the 'sudo' password prompt
The new 7.10 release of Ubuntu changes the 'sudo' password prompt, so
now it says:
[sudo] password for chris:
The following patch allows comint to recognise it as a password prompt:
*** lisp/Backup/comint.el.~1~ Wed Oct 17 00:40:06 2007
--- lisp/comint.el Thu Oct 18 16:52:59 2007
***************
*** 334,343 ****
;; ksu prints a prompt like `Kerberos password for devnull/root@GNU.ORG: '.
;; ssh-add prints a prompt like `Enter passphrase: '.
;; plink prints a prompt like `Passphrase for key "root@GNU.ORG": '.
;; Some implementations of passwd use "Password (again)" as the 2nd prompt.
(defcustom comint-password-prompt-regexp
"\\(\\([Oo]ld \\|[Nn]ew \\|'s \\|login \\|\
! Kerberos \\|CVS \\|UNIX \\| SMB \\|LDAP \\|^\\)\
\[Pp]assword\\( (again)\\)?\\|\
pass phrase\\|\\(Enter \\|Repeat \\|Bad \\)?[Pp]assphrase\\)\
\\(?:, try again\\)?\\(?: for [^:]+\\)?:\\s *\\'"
--- 334,344 ----
;; ksu prints a prompt like `Kerberos password for devnull/root@GNU.ORG: '.
;; ssh-add prints a prompt like `Enter passphrase: '.
;; plink prints a prompt like `Passphrase for key "root@GNU.ORG": '.
+ ;; Ubuntu's sudo prompts like `[sudo] password for user:'
;; Some implementations of passwd use "Password (again)" as the 2nd prompt.
(defcustom comint-password-prompt-regexp
"\\(\\([Oo]ld \\|[Nn]ew \\|'s \\|login \\|\
! Kerberos \\|CVS \\|UNIX \\| SMB \\|LDAP \\|\\[sudo] \\|^\\)\
\[Pp]assword\\( (again)\\)?\\|\
pass phrase\\|\\(Enter \\|Repeat \\|Bad \\)?[Pp]assphrase\\)\
\\(?:, try again\\)?\\(?: for [^:]+\\)?:\\s *\\'"
And uuencoded:
begin 644 sudo.patch.gz
M'XL("&US%T<"`W-U9&\N<&%T8V@`W9+?3]LP$,>?X:^XY:5I(&WZ`]C"0[>.
M"4V#MJ)TFQ0'S=1N&R6Q+=L9("'^]MEQ6N"!]XDHRITO7W_.=[X@"*#(E.B.
M\3*O1'?)RXSI#BTZ3[VGO5^4P'2IH7<"410/HS@ZAGX4G>R'8>BV[?1[UYO*
M:3]"[S@^ZL='GYPV>/W8-0P&P\/!<`!U`.#T%')5@9"&I0`;AY="FPPYA3\_
MJ+REDBL06*D[+@FLN`1"_[*J*+J2<_WY?++H3*_.8VAU'$VI38@)>8/XC6DJ
M:YS82*SH\SY19"Q_8]=LIZ\/D-,'\%YF]YXQ<UY2R$I1T)(RC77&F0*^<A40
MJ`S"FVVK\?$:9ZSM`5:@-Q3ZC#2)+<TG=+6LE.8EN%Z'VS:$3A1*NJ;WPD@!
M/(1\\R93GA8$$'I,)BRE=]9K*?LM^#ICUD'['V#76+/^^G-NS6+R_;>U,+\<
M6WMQ]F5F[0U";612H&0FTB:_2;0]N_D[JJ%0EPBN33:"?-=LXU]10;&VWAC;
MP[5'#6RK=AF0/XH/0<L'J-D.;6)UTY.;.#VPH1@A!0%"+:^>13=/0S!^^+[F
MZ<!B%K<5TY6Y0E41WE!4@TEL+'U=C!DP&;?>Z2PBU)3\G\_E/XG"T9-;!0``
`
end
Chris.
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ubuntu 7.10 changes the 'sudo' password prompt
2007-10-19 17:42 ` Richard Stallman
@ 2007-10-23 7:11 ` Glenn Morris
0 siblings, 0 replies; 3+ messages in thread
From: Glenn Morris @ 2007-10-23 7:11 UTC (permalink / raw)
To: rms; +Cc: emacs-pretest-bug, Chris Moore
Richard Stallman wrote:
> Would someone please install this, then ack?
installed on trunk.
> Date: Thu, 18 Oct 2007 16:55:31 +0200
> From: "Chris Moore" <christopher.ian.moore@gmail.com>
> To: emacs-pretest-bug@gnu.org
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-10-23 7:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-18 14:55 ubuntu 7.10 changes the 'sudo' password prompt Chris Moore
2007-10-19 17:42 ` Richard Stallman
2007-10-23 7:11 ` Glenn Morris
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.