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 | 948e20b93651a81c8a637e7056e8cb157463c359 (patch) | |
tree | f2885ed96382fedc33131d249a1ba807a063f9e5 /package/busybox/patches/210-passwd_limit.patch | |
parent | f8ce9099604f9cd123f55dee7e07cbf978269df5 (diff) | |
download | upstream-948e20b93651a81c8a637e7056e8cb157463c359.tar.gz upstream-948e20b93651a81c8a637e7056e8cb157463c359.tar.bz2 upstream-948e20b93651a81c8a637e7056e8cb157463c359.zip |
don't display an 8 character password limit on the passwd prompt
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2625 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/busybox/patches/210-passwd_limit.patch')
-rw-r--r-- | package/busybox/patches/210-passwd_limit.patch | 12 |
1 files changed, 12 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..50c7ed8cb1 --- /dev/null +++ b/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: "))) + { |