[yocto] default root password
Diego Sueiro
diego.sueiro at gmail.com
Thu Oct 17 06:29:19 PDT 2013
2013/10/17 Bryan Evenson <bevenson at melinkcorp.com>
> I know there is the EXTRA_USER_PARAMS feature for adding users and
> modifying a user's password, but I couldn't get it to work for root. I
> tried adding:
>
> INHERIT += "extrausers"
> EXTRA_USERS_PARAMS = "\
> usermod -p '<encrypted_password_goes_here>' root; \
> "
>
> and I would get errors when building the image. I can't remember the
> errors I got, but I couldn't get the build to complete when I tried to
> modify the root password in this manner. The other way worked so I went
> with that.
>
Bryan,
I've tried that too.The issue raised for me was related to INHERIT +=
"extrausers", as soon as, it is not present on dylan branch.
So, I solved that with ROOTFS_POSTPROCESS_COMMAND strategy.
Regards,
--
*dS
Diego Sueiro
/*long live rock 'n roll*/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20131017/53e35ff4/attachment.html>
More information about the yocto
mailing list