[Buildroot] dropbear permission denied

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Aug 24 17:31:05 UTC 2012


Le Fri, 24 Aug 2012 16:31:38 +0200,
Belisko Marek <marek.belisko at gmail.com> a écrit :

> > Correct. dropbear doesn't allow login into accounts that have an
> > empty password.
> Is there any way in e.g. post-processing to set some passwd (maybe
> empty) for root user to avoid such troubles? Anybody using it that
> way?

See http://www.elinux.org/images/2/2a/Using-buildroot-real-project.pdf
slide 25. You can use the post-build script mechanism to tune
the /etc/passwd file to set a root password.

I once thought of adding a Kconfig option for that, but it would mean
that the root password would be stored as clear text in the .config
file, which probably isn't that nice.

Should we make the default 'root' password be 'root' so that it is
non-empty and it works with Dropbear? Or simply add a FAQ entry
which explains this problem? Other ideas?

Best regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the buildroot mailing list