Openembedded Core Discussions
 help / color / mirror / Atom feed
* can't login??
@ 2012-08-20 10:06 Jaap de Jong
  2012-08-20 10:33 ` Andrei Gherzan
  2012-08-20 10:34 ` Paul Eggleton
  0 siblings, 2 replies; 7+ messages in thread
From: Jaap de Jong @ 2012-08-20 10:06 UTC (permalink / raw)
  To: openembedded-core@lists.openembedded.org

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

Totaly stupid...
Can't login as root.
Have build an image with this:

    require recipes-core/images/core-image-minimal.bb

    # Use busybox as login manager
    IMAGE_LOGIN_MANAGER = "busybox"

    # Include minimum init and init scripts
    IMAGE_DEV_MANAGER = "udev"
    IMAGE_INIT_MANAGER = "sysvinit sysvinit-pidof"
    IMAGE_INITSCRIPTS = ""


Any hint is appreciated...

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

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

* Re: can't login??
  2012-08-20 10:06 can't login?? Jaap de Jong
@ 2012-08-20 10:33 ` Andrei Gherzan
  2012-08-20 10:34 ` Paul Eggleton
  1 sibling, 0 replies; 7+ messages in thread
From: Andrei Gherzan @ 2012-08-20 10:33 UTC (permalink / raw)
  To: Jaap de Jong; +Cc: openembedded-core@lists.openembedded.org

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

On Mon, Aug 20, 2012 at 1:06 PM, Jaap de Jong <jaap.dejong@nedap.com> wrote:

>  Totaly stupid...
> Can't login as root.
> Have build an image with this:
>
> require recipes-core/images/core-image-minimal.bb
>
> # Use busybox as login manager
> IMAGE_LOGIN_MANAGER = "busybox"
>
> # Include minimum init and init scripts
> IMAGE_DEV_MANAGER = "udev"
> IMAGE_INIT_MANAGER = "sysvinit sysvinit-pidof"
> IMAGE_INITSCRIPTS = ""
>
>
> Any hint is appreciated...
>

What IMAGE_FEATURES do you have?

cat /etc/passwd | grep root ?

ag

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

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

* Re: can't login??
  2012-08-20 10:06 can't login?? Jaap de Jong
  2012-08-20 10:33 ` Andrei Gherzan
@ 2012-08-20 10:34 ` Paul Eggleton
       [not found]   ` <5032290C.1090403@nedap.com>
  2012-08-20 15:42   ` Elvis Dowson
  1 sibling, 2 replies; 7+ messages in thread
From: Paul Eggleton @ 2012-08-20 10:34 UTC (permalink / raw)
  To: Jaap de Jong; +Cc: openembedded-core

On Monday 20 August 2012 12:06:54 Jaap de Jong wrote:
> Totaly stupid...
> Can't login as root.
> Have build an image with this:
> 
>     require recipes-core/images/core-image-minimal.bb
> 
>     # Use busybox as login manager
>     IMAGE_LOGIN_MANAGER = "busybox"
> 
>     # Include minimum init and init scripts
>     IMAGE_DEV_MANAGER = "udev"
>     IMAGE_INIT_MANAGER = "sysvinit sysvinit-pidof"
>     IMAGE_INITSCRIPTS = ""

Is "debug-tweaks" in IMAGE_FEATURES?

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



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

* Re: can't login??
       [not found]   ` <5032290C.1090403@nedap.com>
@ 2012-08-20 12:19     ` Paul Eggleton
  0 siblings, 0 replies; 7+ messages in thread
From: Paul Eggleton @ 2012-08-20 12:19 UTC (permalink / raw)
  To: Jaap de Jong; +Cc: openembedded-core

On Monday 20 August 2012 14:09:48 Jaap de Jong wrote:
> What I'm trying to do is get an image that looks as much the same as the
> one I made under oe-classic.
> Perhaps my approach is not the way to go?
> I was using base-image.bb under oe-classic as the basis and added some
> packages to get to our needed set of applications.

There's nothing wrong with that - you can construct the image in whatever 
manner you wish. You may wish to take advantage of the new functionality 
provided by core-image.bbclass, but that is entirely optional.

> On 08/20/2012 12:34 PM, Paul Eggleton wrote:
> > Is "debug-tweaks" in IMAGE_FEATURES?
> 
> (To answer your question. No, it is not. More of that in my previous mail)

The way things work now, zap_root_password is automatically run when post-
processing the image, unless debug-tweaks is in IMAGE_FEATURES (typically, one 
would add this via EXTRA_IMAGE_FEATURES in local.conf). This is a replacement 
for DISTRO_TYPE = "debug" / "release" in OE-Classic. The assumption is that if 
you're actually producing a production image, you really don't want people to 
be able to log into it as root with no password.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



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

* Re: can't login??
  2012-08-20 10:34 ` Paul Eggleton
       [not found]   ` <5032290C.1090403@nedap.com>
@ 2012-08-20 15:42   ` Elvis Dowson
  2012-08-20 15:45     ` Paul Eggleton
  2012-08-20 23:54     ` Slater, Joseph
  1 sibling, 2 replies; 7+ messages in thread
From: Elvis Dowson @ 2012-08-20 15:42 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: openembedded-core

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

Hi,

On Aug 20, 2012, at 2:34 PM, Paul Eggleton wrote:
> 
> Is "debug-tweaks" in IMAGE_FEATURES?
> 


I too have the same problem, I've got debug-tweaks in IMAGE_FEATURES, but it doesn't allow me to login.  If I type root as the username, it does nothing and brings up the login prompt again.

Starting syslogd/klogd: 
Yocto (Built by Poky 7.0) 1.2+snapshot-20120820 (none) ttyS0

(none) login: root

Yocto (Built by Poky 7.0) 1.2+snapshot-20120820 (none) ttyS0

(none) login: 
Yocto (Built by Poky 7.0) 1.2+snapshot-20120820 (none) ttyS0

(none) login: 
Yocto (Built by Poky 7.0) 1.2+snapshot-20120820 (none) ttyS0

(none) login: 


Elvis Dowson

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

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

* Re: can't login??
  2012-08-20 15:42   ` Elvis Dowson
@ 2012-08-20 15:45     ` Paul Eggleton
  2012-08-20 23:54     ` Slater, Joseph
  1 sibling, 0 replies; 7+ messages in thread
From: Paul Eggleton @ 2012-08-20 15:45 UTC (permalink / raw)
  To: Elvis Dowson; +Cc: openembedded-core

On Monday 20 August 2012 19:42:47 Elvis Dowson wrote:
> On Aug 20, 2012, at 2:34 PM, Paul Eggleton wrote:
> > Is "debug-tweaks" in IMAGE_FEATURES?
> 
> I too have the same problem, I've got debug-tweaks in IMAGE_FEATURES, but it
> doesn't allow me to login.  If I type root as the username, it does nothing
> and brings up the login prompt again.

That's a different problem. I wish I could help but I'm not sure what would 
cause that particular issue.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



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

* Re: can't login??
  2012-08-20 15:42   ` Elvis Dowson
  2012-08-20 15:45     ` Paul Eggleton
@ 2012-08-20 23:54     ` Slater, Joseph
  1 sibling, 0 replies; 7+ messages in thread
From: Slater, Joseph @ 2012-08-20 23:54 UTC (permalink / raw)
  To: Elvis Dowson, Paul Eggleton; +Cc: openembedded-core@lists.openembedded.org

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

I don't know your issue, but the attached recipe should work.  You could
try it and then starting ripping things out.

Joe


> -----Original Message-----
> From: openembedded-core-bounces@lists.openembedded.org [mailto:openembedded-core-
> bounces@lists.openembedded.org] On Behalf Of Elvis Dowson
> Sent: Monday, August 20, 2012 8:43 AM
> To: Paul Eggleton
> Cc: openembedded-core@lists.openembedded.org
> Subject: Re: [OE-core] can't login??
> 
> Hi,
> 
> On Aug 20, 2012, at 2:34 PM, Paul Eggleton wrote:
> 
> 
> 	Is "debug-tweaks" in IMAGE_FEATURES?
> 
> 
> 
> 
> I too have the same problem, I've got debug-tweaks in IMAGE_FEATURES, but it doesn't allow
> me to login.  If I type root as the username, it does nothing and brings up the login
> prompt again.
> 
> Starting syslogd/klogd:
> Yocto (Built by Poky 7.0) 1.2+snapshot-20120820 (none) ttyS0
> 
> 
> (none) login: root
> 
> 
> Yocto (Built by Poky 7.0) 1.2+snapshot-20120820 (none) ttyS0
> 
> 
> (none) login:
> Yocto (Built by Poky 7.0) 1.2+snapshot-20120820 (none) ttyS0
> 
> 
> (none) login:
> Yocto (Built by Poky 7.0) 1.2+snapshot-20120820 (none) ttyS0
> 
> 
> (none) login:
> 
> 
> Elvis Dowson

[-- Attachment #2: small.bb --]
[-- Type: application/octet-stream, Size: 227 bytes --]


PR = "r0"

inherit core-image

# allows root login without a password
#
IMAGE_FEATURES += "debug-tweaks"

# We override what gets set in core-image.bbclass
#
IMAGE_INSTALL = "\
    task-core-boot \
    kernel-modules \
    "


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

end of thread, other threads:[~2012-08-21  0:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-20 10:06 can't login?? Jaap de Jong
2012-08-20 10:33 ` Andrei Gherzan
2012-08-20 10:34 ` Paul Eggleton
     [not found]   ` <5032290C.1090403@nedap.com>
2012-08-20 12:19     ` Paul Eggleton
2012-08-20 15:42   ` Elvis Dowson
2012-08-20 15:45     ` Paul Eggleton
2012-08-20 23:54     ` Slater, Joseph

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox