All of lore.kernel.org
 help / color / mirror / Atom feed
* FW: root password in a core-image-base without "debug-tweaks" ?
       [not found] <DUB128-W81C154B5996F9AF9A32F8498310@phx.gbl>
@ 2015-10-12 21:39 ` Thanassis Silis
  2015-10-13  5:37   ` Mike Looijmans
  0 siblings, 1 reply; 3+ messages in thread
From: Thanassis Silis @ 2015-10-12 21:39 UTC (permalink / raw)
  To: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 624 bytes --]



From: djnass_18@hotmail.com
To: yocto-bounces@yoctoproject.org
Subject: root password in a core-image-base without "debug-tweaks" ?
Date: Mon, 12 Oct 2015 19:12:55 +0000




hi all,
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.

as for ssh I copied my id_rsa.pub over to /home/root/.ssh/authorized_keys in order to ssh to the board.

thank you in advance for your help
 		 	   		   		 	   		  

[-- Attachment #2: Type: text/html, Size: 1082 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: FW: root password in a core-image-base without "debug-tweaks" ?
  2015-10-12 21:39 ` FW: root password in a core-image-base without "debug-tweaks" ? Thanassis Silis
@ 2015-10-13  5:37   ` Mike Looijmans
  2015-10-13 15:18     ` Thanassis Silis
  0 siblings, 1 reply; 3+ messages in thread
From: Mike Looijmans @ 2015-10-13  5:37 UTC (permalink / raw)
  To: Thanassis Silis, yocto@yoctoproject.org

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@topicproducts.com
Website: www.topicproducts.com

Please consider the environment before printing this e-mail







^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: FW: root password in a core-image-base without "debug-tweaks" ?
  2015-10-13  5:37   ` Mike Looijmans
@ 2015-10-13 15:18     ` Thanassis Silis
  0 siblings, 0 replies; 3+ messages in thread
From: Thanassis Silis @ 2015-10-13 15:18 UTC (permalink / raw)
  To: Mike Looijmans, yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 1320 bytes --]

thank you 
this will indeed suffice!

> Subject: Re: [yocto] FW: root password in a core-image-base without "debug-tweaks" ?
> To: djnass_18@hotmail.com; yocto@yoctoproject.org
> From: mike.looijmans@topic.nl
> Date: Tue, 13 Oct 2015 07:37:23 +0200
> 
> 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@topicproducts.com
> Website: www.topicproducts.com
> 
> Please consider the environment before printing this e-mail
> 
> 
> 
> 
> 
 		 	   		  

[-- Attachment #2: Type: text/html, Size: 1774 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-10-13 15:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <DUB128-W81C154B5996F9AF9A32F8498310@phx.gbl>
2015-10-12 21:39 ` FW: root password in a core-image-base without "debug-tweaks" ? Thanassis Silis
2015-10-13  5:37   ` Mike Looijmans
2015-10-13 15:18     ` Thanassis Silis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.