From: Felix Fietkau Date: Sun, 11 Dec 2005 22:21:45 +0000 (+0000) Subject: don't display an 8 character password limit on the passwd prompt X-Git-Tag: whiterussian_rc5~294 X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=417dbd58d59e6849538a1506d6cf960eee58e52f;p=openwrt%2Fsvn-archive%2Fopenwrt.git don't display an 8 character password limit on the passwd prompt SVN-Revision: 2624 --- diff --git a/openwrt/package/busybox/patches/210-passwd_limit.patch b/openwrt/package/busybox/patches/210-passwd_limit.patch new file mode 100644 index 0000000000..50c7ed8cb1 --- /dev/null +++ b/openwrt/package/busybox/patches/210-passwd_limit.patch @@ -0,0 +1,12 @@ +diff -urN busybox.old/loginutils/passwd.c busybox.dev/loginutils/passwd.c +--- busybox.old/loginutils/passwd.c 2005-12-11 22:52:46.185150000 +0100 ++++ busybox.dev/loginutils/passwd.c 2005-12-11 23:19:15.276596500 +0100 +@@ -353,7 +353,7 @@ + } else { + orig[0] = '\0'; + } +- if (! (cp=bb_askpass(0, "Enter the new password (minimum of 5, maximum of 8 characters)\n" ++ if (! (cp=bb_askpass(0, "Enter the new password (minimum of 5 characters)\n" + "Please use a combination of upper and lower case letters and numbers.\n" + "Enter new password: "))) + {