FAQ:How do I set or change the root password

From Yocto Project
Revision as of 19:55, 16 June 2015 by RossBurton (talk | contribs) (use extrausers to set root password)
Jump to navigationJump to search

Q: How do I set / change the root password?

A: Use the extrausers class to set the password:

inherit extrausers
EXTRA_USERS_PARAMS = "useradd -P 1876*18 root;"

This sets the root password to "1876*18".