* Dropbear SSH and empty root password
@ 2011-02-17 2:02 Gary Thomas
2011-02-17 3:29 ` Khem Raj
0 siblings, 1 reply; 2+ messages in thread
From: Gary Thomas @ 2011-02-17 2:02 UTC (permalink / raw)
To: Poky
The default images have no password for root. This used to
work fine with the dropbear SSH server, but no longer does.
I see that the recipe has this line:
file://allow-nopw.patch;apply=no
Any comment on why this was disabled? I think the history
of this change was lost in the great packages reshuffle.
Query: if I wanted to restore this behaviour, could I just
have a .bbappend file with that line as apply=yes?
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Dropbear SSH and empty root password
2011-02-17 2:02 Dropbear SSH and empty root password Gary Thomas
@ 2011-02-17 3:29 ` Khem Raj
0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2011-02-17 3:29 UTC (permalink / raw)
To: Gary Thomas; +Cc: Poky
On Wed, Feb 16, 2011 at 6:02 PM, Gary Thomas <gary@mlbassoc.com> wrote:
> The default images have no password for root. This used to
> work fine with the dropbear SSH server, but no longer does.
>
> I see that the recipe has this line:
> file://allow-nopw.patch;apply=no
>
> Any comment on why this was disabled? I think the history
> of this change was lost in the great packages reshuffle.
if you see in dropbear.inc a bit below you will see this
do_configure_prepend() {
if [ "x${DISTRO}" != "xfamiliar" -a "${DISTRO_TYPE}" = "debug" ]; then
oenote "WARNING: applying allow-nopw.patch which
allows password-less logins!"
patch -p1 < ${WORKDIR}/allow-nopw.patch
fi
}
so if your distro_type is debug then you will get it applied automatically.
>
> Query: if I wanted to restore this behaviour, could I just
> have a .bbappend file with that line as apply=yes?
>
> --
> ------------------------------------------------------------
> Gary Thomas | Consulting for the
> MLB Associates | Embedded world
> ------------------------------------------------------------
> _______________________________________________
> poky mailing list
> poky@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-02-17 3:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-17 2:02 Dropbear SSH and empty root password Gary Thomas
2011-02-17 3:29 ` Khem Raj
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.