[yocto] Set root password from a recipe
Mauro Ziliani
mauro at faresoftware.it
Wed May 16 01:46:20 PDT 2018
Hi all.
I need to set a well know password for root user.
I follow the istruction to do this with
inherit extra_users
EXTRA_USERS_PARAMS = " \
usermod -P secret root; \
"
But it does not work.
I think the problem i for usermod
I sse the man page and the -p parameter needs the output of crypt(3)
function.
While -P parameter (p-uppercase) is not a valid parameter for usermod
Any idea?
Thanks
Mauro
More information about the yocto
mailing list