I am trying to create a user to my system created using Yocto.
I have the following line in my recipe for my custom image:
inherit extrausers
EXTRA_USERS_PARAMS = " useradd -p 'myuser' -d /home/myuser --create-home myuser; "
The result is that I can't login as myuser, but I can change to myuser using su. What am I doing wrong?