mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-10 17:24:05 +02:00
don't display an 8 character password limit on the passwd prompt
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2625 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
e303628220
commit
9acbd8f54f
12
openwrt/package/busybox/patches/210-passwd_limit.patch
Normal file
12
openwrt/package/busybox/patches/210-passwd_limit.patch
Normal file
@ -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: ")))
|
||||||
|
{
|
Loading…
Reference in New Issue
Block a user