Skip to main content
SPark.15
Associate III
December 18, 2020
Solved

How can I change root password of STM32MP1?

  • December 18, 2020
  • 2 replies
  • 2087 views

Hello Guys.

In the current state, when connecting the LAN cable and attempting to connect to the board's IP by SSH, it has been confirmed that the connection is immediately established.

It is thought that anyone can access the board in this state.

So I need to change root password

However, there are no guidelines for how to do this on the WiKi Page.

How can I change root password of STM32MP1?

This topic has been closed for replies.
Best answer by Eldam

In french, sorry:

https://www.blaess.fr/christophe/yocto-lab/index.html

2 replies

Eldam
Senior
December 18, 2020

If you are buildind and using ST official image (using distribution package), (like st-image-core or st-image-weston) you should build a new distribution, using an bbappend file and add something like :

inherit extrausers

EXTRA_USERS_PARAMS += "usermod -P mysecretrootpasswordisNyarlathotep root;"

and you should disable debug-tweaks in your local.conf

But using user space command, i dont know....

Hope it helps

Eldam
EldamBest answer
Senior
December 18, 2020
SPark.15
SPark.15Author
Associate III
December 21, 2020

​Thanks for your comment.

I found the debug-tweaks phrases as you said, removed them, and tried to build again (exists in multiple files).

The password has been successfully applied!

Thanks for your help.