[yocto] FW: root password in a core-image-base without "debug-tweaks" ?

Mike Looijmans mike.looijmans at topic.nl
Mon Oct 12 22:37:23 PDT 2015


On 12-10-15 23:39, Thanassis Silis wrote:

> I bitbaked a core-image-base without "debug-tweaks" , and now i am greeted on
> ttymxc1 with a login , but it also asks for password.
> empty password is not accepted.
> /etc/shadow states "root::..." so the root password is supposedly empty. but I
> cannot login.

Yep, turning it on makes the box too vulnerable and leaving it out makes the 
box inaccessible.

Here's a simple solution to allow you to login but without crippling SSH:

https://github.com/OpenPLi/openpli-oe-core/blob/master-next/meta-openpli/recipes-openpli/images/openpli-image.bb#L45



Kind regards,

Mike Looijmans
System Expert

TOPIC Embedded Products
Eindhovenseweg 32-C, NL-5683 KH Best
Postbus 440, NL-5680 AK Best
Telefoon: +31 (0) 499 33 69 79
Telefax: +31 (0) 499 33 69 70
E-mail: mike.looijmans at topicproducts.com
Website: www.topicproducts.com

Please consider the environment before printing this e-mail








More information about the yocto mailing list