[poky] How to set root password

Patrick kpa_info at yahoo.fr
Thu Jun 14 08:40:28 PDT 2012


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



More information about the poky mailing list