How to set the root password in YOCTO in G33M i.MX8M SMARC SOM?

Plain text passwords does not support in YOCTO in below commands:

‘usermod -p rootroot1 root;’

Instead, please use a hashed password as given below:

‘‘‘

IMAGE_CLASSES += “extrausers”

EXTRA_USERS_PARAMS = “/

usermod -p ‘$(echo <your_password> | openssl passwd -1 -stdin)’ root; \

‘‘‘

Please replace ‘<your_password>’ with the desired password.

For further inquiries, please get in touch with mktg@iwave-global.com

Please find the detailed G33M product information in the below link,