[yocto] Fwd: How to recreate or modify already existing usres in /etc/passwd in Yocto

Amit Tomer amittomer25 at gmail.com
Mon Oct 28 03:07:05 PDT 2013


Thanks Jukka for the response

EXTRA_USERS_PARAMS="usermod -s /bin/false foobar;" where did you
define user(Is  foobar is usre here??).

Thanks,
Amit.

On Mon, Oct 28, 2013 at 2:18 PM, Jukka Rissanen
<jukka.rissanen at linux.intel.com> wrote:
> 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