I have imx6ul dev board
I tried to add a password for yocto login.
steps I did:
create an MD5 password
Copied the generated hash output string and replace the MD5_ROOT_PASSWD with it.
in the local.conf file, removed debug-tweaks extra_image_features
rebuild the images.
after installed the images, at prompt
login:
type root, password: is not prompted
Then I added
useradd - p 'password hash string' admin
after rebuild and install the images, at prompt
login: admin
Password:
it shows the password, but returns login incorrect
What did I miss?
Thank you,
David
已解决! 转到解答。
pls refer to the link as below, hope helpful for you
FAQ:How do I set or change the root password - Yocto Project