[OE-core] [PATCH 1/3] openssh: Allow empty passwords login.

Paul Eggleton paul.eggleton at linux.intel.com
Mon Jun 11 10:24:42 UTC 2012


On Monday 11 June 2012 11:45:49 Anders Darander wrote:
> * Lianhao Lu <lianhao.lu at intel.com> [120611 11:03]:
> > Allow empty passwords login so that the default root user can login in
> > through openssh.
> 
> NAK, this isn't a sane default for a OpenSSH-recipe...

I agree, however more below...

> What's your use-case? Is it for automatic testing/development? If so,
> can't you either set the password, or change the config using some other
> means, e.g. a post rootfs installation script? (And make sure that this
> is only run for the image in question, _not_ for all images).

I don't think we want this to be image-specific. FWIW, we do already have a 
mechanism to handle this for the dropbear recipe - debug-tweaks in 
IMAGE_FEATURES. I don't particularly like it however since IMAGE_FEATURES 
should not be influencing non-image recipes. This has bothered me for a while 
and I think we ought to change to some other mechanism (perhaps make it a 
separate variable) and then make the OpenSSH recipe use that.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre




More information about the Openembedded-core mailing list