Skip to content

Instantly share code, notes, and snippets.

@aakbar5
Created January 25, 2017 10:55
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save aakbar5/ca35663b4ccfd43fcefeba55c5ff8a2f to your computer and use it in GitHub Desktop.
Save aakbar5/ca35663b4ccfd43fcefeba55c5ff8a2f to your computer and use it in GitHub Desktop.
set or change the root password in Yocto
inherit extrausers
EXTRA_USERS_PARAMS = "usermod -P hello root;"
- This sets the root password to "hello".
- These lines can be added into your core-image-base.bbappend file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment