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

Amit Tomer amittomer25 at gmail.com
Mon Oct 28 04:47:53 PDT 2013


Jukaa I trying adding these lines in to my .conf file
But getting below error while bitbake

 Unable to parse extrausers: ParseError in configuration INHERITs:
Could not inherit file classes/extrausers.bbclass

Thanks

On Mon, Oct 28, 2013 at 4:11 PM, Amit Tomer <amittomer25 at gmail.com> wrote:
> Fine Jukka ,I got your point.
>
> The way we changed shell of a user of the /etc/passwd fie is by
> patching the passwd.master file(orignator of /etc/passwd).
>
> How Do you review this method of modifying  shell of a user?
>
> Thanks
> Amit
>
> On Mon, Oct 28, 2013 at 3:41 PM, Jukka Rissanen
> <jukka.rissanen at linux.intel.com> wrote:
>> On 28.10.2013 12:07, Amit Tomer wrote:
>>>
>>> Thanks Jukka for the response
>>>
>>> EXTRA_USERS_PARAMS="usermod -s /bin/false foobar;" where did you
>>> define user(Is  foobar is usre here??).
>>
>>
>> Yes, foobar is the username in this example. See manual page of usermod for
>> details.
>>
>>
>> --
>> Cheers,
>> Jukka



More information about the yocto mailing list