[poky] How to set root password

Andrei Gherzan andrei at gherzan.ro
Thu Jun 14 10:19:56 PDT 2012

Indeed. You can sed
from base-passwd.

This was how i did it. Don't know of there another solution on this.


On Thu, Jun 14, 2012 at 6:40 PM, Patrick <kpa_info at yahoo.fr> wrote:

> On 06/14/2012 09:06 AM, Andrei Gherzan wrote:
>> You can find your answer in these places:
>> core-image.bbclass - at the end of this file
>> zap_root_password () - from image.bbclass
> I could see that if debug-tweaks is in IMAGE_FEATURES the root password is
> set to *, but we would like to set a real password.
> Do we have to generate a password hash and put it in /etc/passwd ?
> Patrick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20120614/586f9e98/attachment.html>

More information about the poky mailing list