[OE-core] [PATCH 2/2] base-passwd: set root's default password to 'root'
Patrick Ohly
patrick.ohly at intel.com
Thu Nov 24 14:54:50 UTC 2016
On Thu, 2016-11-24 at 09:09 -0500, Philip Balister wrote:
> On 11/24/2016 02:46 AM, Patrick Ohly wrote:
> > On Thu, 2016-11-24 at 11:38 +0800, Robert Yang wrote:
> >> Currently, debug-tweaks is in EXTRA_IMAGE_FEATURES by default for poky, and
> >> there is no passwd, so that user can login easily without a passwd, I think
> >> that current status is more unsafe ?
> >
> > Both well-known password and no password are unsafe. User "root" with
> > password "root" is not even "more" safe already now, because tools that
> > brute-force logins try that. Choosing something else would be a bit
> > safer for a short while until the tools add it to their dictionary.
> >
> > Poky is also targeting a different audience than OE-core. Poky can
> > assume to be used in a secure environment, OE-core can't (because it
> > might be used for all kinds of devices).
> >
>
> That is the first time I've heard Poky is targeting an audience assumed
> to be running in a secure environment.
At least the default local.conf seems to be meant for that (easy-of-use
for developers preferred over security in a hostile environment).
> Should we document what Poky this
> somewhere? From where I sit, this seems to be an odd limitation.
I'm not aware of a document explicitly documenting this either. I
wouldn't call it a limitation, though: a real product could be built
with a configuration that doesn't enable debug-tweaks.
As Paul said before, more documentation about first boot, login
mechanisms, security considerations, etc. certainly would be useful.
--
Best Regards, Patrick Ohly
The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.
More information about the Openembedded-core
mailing list