shadow: change to use SHA512 password encryption
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Fri, 13 Dec 2013 14:42:46 +0000 (14:42 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 13 Dec 2013 14:51:21 +0000 (14:51 +0000)
commit010a16638d1484afca6964168c62fdce8e8c3305
treeb0d8ea8d9860205779c4241972c0ffb4a9df4971
parente6774e9e687a23e2679a34750af5ce2578356376
shadow: change to use SHA512 password encryption

The default encryption method for shadow is DES, which limits passwords
to 8 characters. Not only is this undesirable, it's also not how busybox
works so we had different passwd/login length behaviour depending on
whether shadow was installed in the image or not. Change it to SHA512
which is what most Linux distributions seem to be using currently.
(SHA512 also matches up with how we are configuring PAM.)

Fixes [YOCTO #5656].

(From OE-Core rev: a9e072f9f0da774411e07abf47dd4bd8c6d685d7)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/shadow/shadow.inc