diff options
author | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-11-09 17:32:23 +0000 |
---|---|---|
committer | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-11-09 17:32:23 +0000 |
commit | b0ee088651b3248b554d4e1c5a0c018e60c10674 (patch) | |
tree | 61c6686630ee1de534864ee2b810d611c02a40f9 /package/busybox/patches | |
parent | 8f348ad02b3bb4e899aea925cb2c06d04626fa14 (diff) |
package/busybox: passwd: use MD5 hash by default (like it used to be)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28885 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/busybox/patches')
-rw-r--r-- | package/busybox/patches/002-passwd_use_md5_hash_by_default_like_it_used_to_be.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/package/busybox/patches/002-passwd_use_md5_hash_by_default_like_it_used_to_be.patch b/package/busybox/patches/002-passwd_use_md5_hash_by_default_like_it_used_to_be.patch new file mode 100644 index 000000000..ff79f3ee9 --- /dev/null +++ b/package/busybox/patches/002-passwd_use_md5_hash_by_default_like_it_used_to_be.patch @@ -0,0 +1,20 @@ +From eb80c2a5315ed08bd329448217695375d89732c9 Mon Sep 17 00:00:00 2001 +From: Nicolas Thill <nico@openwrt.org> +Date: Wed, 9 Nov 2011 18:17:20 +0100 +Subject: [PATCH] passwd: use MD5 hash by default (like it used to be) + +--- + loginutils/passwd.c | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +--- a/loginutils/passwd.c ++++ b/loginutils/passwd.c +@@ -94,7 +94,7 @@ int passwd_main(int argc UNUSED_PARAM, c + }; + unsigned opt; + int rc; +- const char *opt_a = "d"; /* des */ ++ const char *opt_a = "m"; /* md5 */ + const char *filename; + char *myname; + char *name; |