[yocto] Set root password with SHA512?

Juha Vuorivirta jvp.vuorivirta at gmail.com
Wed Oct 28 01:07:31 PDT 2015


I'm able to set the root password in /etc/shadow with adding
ROOTFS_POSTPROCESS_COMMAND to .bb file. It seems that only DES works
(yocto/oe-core etc. layers are pretty old though). Is it possible to enable
SHA512 hashing for root password?
Just replacing DES password with SHA512 is not enough, could not log in
even password hash is correct in /etc/shadow file. Noticed that DES is
default encryption method(in recipes-extended/shadow/...), how can I set it
to SHA512, or is it even possible with this older set up?

br,


jv
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20151028/eca37959/attachment.html>


More information about the yocto mailing list