[Tickets #725] NEW: passwd_expect needs to expect another pattern

bugs at bugs.horde.org bugs at bugs.horde.org
Tue Oct 26 00:03:52 PDT 2004


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=725
-----------------------------------------------------------------------
 Ticket     | 725
 Created By | ctnpublic-horde at yahoo.com
 Summary    | passwd_expect needs to expect another pattern
 Queue      | Passwd
 Version    | HEAD
 State      | Unconfirmed
 Priority   | 1. Low
 Type       | Bug
 Owners     | 
-----------------------------------------------------------------------


ctnpublic-horde at yahoo.com (2004-10-26 00:03) wrote:

The "Retype new UNIX password" prompt can also be "Retype new password"

cvs diff -u -r HEAD passwd/scripts/passwd_expect
Index: passwd/scripts/passwd_expect
===================================================================
RCS file: /repository/passwd/scripts/passwd_expect,v
retrieving revision 1.3
diff -u -r1.3 passwd_expect
--- passwd/scripts/passwd_expect        4 Mar 2003 16:22:42 -0000       1.3
+++ passwd/scripts/passwd_expect        26 Oct 2004 07:02:02 -0000
@@ -41,7 +41,7 @@
 set newpassword_string "(N|n)ew.* (P|p)assword.*"
 #set badpassword_string "(passwd|BAD PASSWORD).*^"
 set badpassword_string "(passwd|Bad:).*\r"
-set verify_string "((R|r)e-*enter.*(P|p)assword|Retype new UNIX
password|(V|v)erification|(V|v)erify|(A|a)gain).*"
+set verify_string "((R|r)e-*enter.*(P|p)assword|Retype (new|new UNIX)
password|(V|v)erification|(V|v)erify|(A|a)gain).*"
 set success_string "((P|p)assword.* changed|successfully)"
 set login_string "(((L|l)ogin|(U|u)sername).*)"
 set timeout 20





More information about the bugs mailing list