7e72901eef
Ensure that the SHA_CRYPT option is enabled when the system configuration is set to SHA256/512, as otherwise passwd complains when a password is changed: passwd ... Invalid ENCRYPT_METHOD value: 'SHA512'. Defaulting to DES. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Julien Olivain <ju.o@free.fr>