Re: [yocto] Set root password from a recipe

2018-05-16 Thread ChenQi
Such setting should be in global conf files like .conf or local.conf. Setting root password from a recipe does not have effect. If you really want to set a root password from recipe, maybe you need to take a look at base-passwd recipe. '-P' is an option added to support clear text password.

Re: [yocto] Set root password from a recipe

2018-05-16 Thread Mauro Ziliani
Sorry inherit extrausers Il 16/05/2018 10:46, Mauro Ziliani ha scritto: 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

[yocto] Set root password from a recipe

2018-05-16 Thread Mauro Ziliani
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