cancel
Showing results for 
Search instead for 
Did you mean: 

How can I change root password of STM32MP1?

SPark.15
Associate II

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?

1 ACCEPTED SOLUTION

Accepted Solutions
Eldam
Senior
3 REPLIES 3
Eldam
Senior

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
Senior

​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.