]> code.ossystems Code Review - openembedded-core.git/commit
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:15 +0000 (14:51 +0000)
commita9e072f9f0da774411e07abf47dd4bd8c6d685d7
tree6f49a6986b80d49f9f0b3971a4958b1658238733
parent15ca756276b8c832cecf223c616c01202d1d6425
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].

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