How can ı change root password

hello ı have a colibri imx6 linux computer on module. I want to change root password to “xxxyyyy”

how can ı do this ?

One can use ‘passwd’ for more information on using it, refer the man page.

Hi Bhuvan,

How can you setup password for the root account during build?

thanks.

If you are using OpenEmbedded to build rootfs, you can just add following to bb file, e.g. angstrom-lxde-image.bb

EXTRA_USERS_PARAMS = "usermod -P YOUR_PASSWORD root;"