summaryrefslogtreecommitdiff
path: root/package/busybox/patches/210-passwd_limit.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/busybox/patches/210-passwd_limit.patch')
-rw-r--r--package/busybox/patches/210-passwd_limit.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/busybox/patches/210-passwd_limit.patch b/package/busybox/patches/210-passwd_limit.patch
new file mode 100644
index 0000000000..6c10916b4a
--- /dev/null
+++ b/package/busybox/patches/210-passwd_limit.patch
@@ -0,0 +1,15 @@
+
+ Copyright (C) 2006 OpenWrt.org
+
+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: ")))
+ {