changing default root password

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

changing default root password

ソリューションへジャンプ
8,719件の閲覧回数
davidzhou
Contributor V

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

0 件の賞賛
返信
1 解決策
7,047件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport
0 件の賞賛
返信
2 返答(返信)
7,048件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

pls refer to the link as below, hope helpful for you

FAQ:How do I set or change the root password - Yocto Project 

0 件の賞賛
返信
7,047件の閲覧回数
davidzhou
Contributor V

Hi Joan,

Also added into poky/meta/classes/extrausers.bbclass

Thank you.

David

0 件の賞賛
返信