diff options
author | Felix Fietkau <nbd@openwrt.org> | 2005-12-11 22:23:32 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2005-12-11 22:23:32 +0000 |
commit | cd37776a81774f3b022b8cd6121bb8a210b47979 (patch) | |
tree | cc8a23ee7e9ba22c5e1e6d5b3c8a11cb4ec0ef14 | |
parent | b11970be042ec87c370154da2d71e879c2187651 (diff) | |
download | mtk-20170518-cd37776a81774f3b022b8cd6121bb8a210b47979.zip mtk-20170518-cd37776a81774f3b022b8cd6121bb8a210b47979.tar.gz mtk-20170518-cd37776a81774f3b022b8cd6121bb8a210b47979.tar.bz2 |
don't display an 8 character password limit on the passwd prompt
SVN-Revision: 2625
-rw-r--r-- | openwrt/package/busybox/patches/210-passwd_limit.patch | 12 |
1 files changed, 12 insertions, 0 deletions
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 0000000..50c7ed8 --- /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: "))) + { |