List Info

Thread: ubuntu 7.10 changes the 'sudo' password prompt




ubuntu 7.10 changes the 'sudo' password prompt
user name
2007-10-18 09:55:31
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/rootGNU.ORG: '.
  ;; ssh-add prints a prompt like `Enter passphrase: '.
  ;; plink prints a prompt like `Passphrase for key
"rootGNU.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/rootGNU.ORG: '.
  ;; ssh-add prints a prompt like `Enter passphrase: '.
  ;; plink prints a prompt like `Passphrase for key
"rootGNU.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"!]XDH
RITO7W_.=[X"*#(E.B.
M3*O1'?)RXSI#BTZ3[VGO5^4P'2IH7<"410/HSZAGX4G>R'8>BV[?1[UYO*
M:3]"[S^ZL='GYPV>/W8-0P&P/!<`!U`.#T%')59"&I0`;AY="FPPYA3_
MJ+REDBL06*D[+FLN`1"_[*J*+J2<_WY?++H3*_.8VAU'$VI38)>8/XC6DJ
M:YS82*SHSY19"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.;.#VPH1A!0%"+:^>13=/0S!^^+[F
MZ<!B%K<5TY6Y0E41WE!4TEL+'U=C!DP&;?>Z2PBU)3G_E/XG"T9-;!0``
`
end

Chris.


_______________________________________________
Emacs-devel mailing list
Emacs-develgnu.org
htt
p://lists.gnu.org/mailman/listinfo/emacs-devel

Re: ubuntu 7.10 changes the 'sudo' password prompt
country flaguser name
United States
2007-10-19 12:42:21
Would someone please install this, then ack?


Date: Thu, 18 Oct 2007 16:55:31 +0200
From: "Chris Moore" <christopher.ian.mooregmail.com>
To: emacs-pretest-buggnu.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/rootGNU.ORG: '.
  ;; ssh-add prints a prompt like `Enter passphrase: '.
  ;; plink prints a prompt like `Passphrase for key
"rootGNU.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/rootGNU.ORG: '.
  ;; ssh-add prints a prompt like `Enter passphrase: '.
  ;; plink prints a prompt like `Passphrase for key
"rootGNU.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"!]XDH
RITO7W_.=[X"*#(E.B.
M3*O1'?)RXSI#BTZ3[VGO5^4P'2IH7<"410/HSZAGX4G>R'8>BV[?1[UYO*
M:3]"[S^ZL='GYPV>/W8-0P&P/!<`!U`.#T%')59"&I0`;AY="FPPYA3_
MJ+REDBL06*D[+FLN`1"_[*J*+J2<_WY?++H3*_.8VAU'$VI38)>8/XC6DJ
M:YS82*SHSY19"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.;.#VPH1A!0%"+:^>13=/0S!^^+[F
MZ<!B%K<5TY6Y0E41WE!4TEL+'U=C!DP&;?>Z2PBU)3G_E/XG"T9-;!0``
`
end

Chris.


_______________________________________________
Emacs-devel mailing list
Emacs-develgnu.org
htt
p://lists.gnu.org/mailman/listinfo/emacs-devel



_______________________________________________
Emacs-devel mailing list
Emacs-develgnu.org
htt
p://lists.gnu.org/mailman/listinfo/emacs-devel

Re: ubuntu 7.10 changes the 'sudo' password prompt
country flaguser name
United States
2007-10-23 02:11:16
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.mooregmail.com>
> To: emacs-pretest-buggnu.org


_______________________________________________
Emacs-devel mailing list
Emacs-develgnu.org
htt
p://lists.gnu.org/mailman/listinfo/emacs-devel

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )