Hi Sir ,
I am using yocto Jethro build for mx6qsabresd board. I need to set one username and password for the image .
actually my login prompt is root like that
I need to set on my own password and username for my build image.
Regards
Sachu
Hello Sachu Sanal,
There is some help on this on the Yocto Wiki (link below)
https://wiki.yoctoproject.org/wiki/FAQ:How_do_I_set_or_change_the_root_password
You may change the root password using the following variables on the configuration file:
inherit extrausers
EXTRA_USERS_PARAMS = "usermod -P <PASSWORD> root;"
Or add a new user
EXTRA_USERS_PARAMS = "useradd -P <PASSWORD> <USERNAME>;"
Regards,
Hi ,
Thanks for your Reply ...
but I have one doubt ,I added the below mentioned settings in my image.bb file what I am facing means I added root password itworking for me, then I added another user its working ,but afterwords of other useradd the root user wi9ll not ask anty password?
what is the issue?let me know
Regards
Sachu
In your local.conf file:
Comment the line corresponding to debug-tweaks adding ‘#’
#EXTRA_IMAGE_FEATURES = "debug-tweaks"