don't display an 8 character password limit on the passwd prompt
[openwrt/svn-archive/archive.git] / openwrt / package / busybox / patches / 210-passwd_limit.patch
1 diff -urN busybox.old/loginutils/passwd.c busybox.dev/loginutils/passwd.c
2 --- busybox.old/loginutils/passwd.c 2005-12-11 22:52:46.185150000 +0100
3 +++ busybox.dev/loginutils/passwd.c 2005-12-11 23:19:15.276596500 +0100
4 @@ -353,7 +353,7 @@
5 } else {
6 orig[0] = '\0';
7 }
8 - if (! (cp=bb_askpass(0, "Enter the new password (minimum of 5, maximum of 8 characters)\n"
9 + if (! (cp=bb_askpass(0, "Enter the new password (minimum of 5 characters)\n"
10 "Please use a combination of upper and lower case letters and numbers.\n"
11 "Enter new password: ")))
12 {