[yocto] Fwd: How to recreate or modify already existing usres in /etc/passwd in Yocto
Jukka Rissanen
jukka.rissanen at linux.intel.com
Mon Oct 28 01:48:34 PDT 2013
On 26.10.2013 20:15, Amit Tomer wrote:
> Running out of ideas
>
> Can I get some fresh ideas for this issue
>
I am using this in my distro conf file
(http://git.yoctoproject.org/cgit/cgit.cgi/meta-eca/tree/meta-eca/conf/distro/eca.conf)
to change the root default password
INHERIT += "extrausers"
EXTRA_USERS_PARAMS = "usermod -p 'enrcrypted-password' root;"
So if you want to change the shell of a user, the command could look
something like EXTRA_USERS_PARAMS="usermod -s /bin/false foobar;"
--
Cheers,
Jukka
More information about the yocto
mailing list