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 product inquiries, please get in touch with our sales team at mktg@iwave-global.com

Please find the detailed product information here:
i.MX 8M Plus SMARC System on Module