FAQ:How do I set or change the root password: Difference between revisions

From Yocto Project
Jump to navigationJump to search
(use extrausers to set root password)
(Point to (maintained) documentation. ($ needs to be escaped and it was not explained here but in the docs))
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
'''Q:''' How do I set / change the root password?
The content of this document has been moved to: https://docs.yoctoproject.org/ref-manual/classes.html#extrausers-bbclass
 
'''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".


[[Category:FAQ]] [[Category:FAQ-open]]
[[Category:FAQ]] [[Category:FAQ-open]]

Latest revision as of 17:10, 18 February 2022

The content of this document has been moved to: https://docs.yoctoproject.org/ref-manual/classes.html#extrausers-bbclass