[Buildroot] [PATCH] system: run getty on boot console by default

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Dec 23 22:10:52 UTC 2014


Dear Alexey Brodkin,

On Tue, 23 Dec 2014 21:18:56 +0000, Alexey Brodkin wrote:

> Interesting, then how it worked for me?
> 
> I have the same login prompt as usual:
> --->---
> Welcome to Buildroot
> buildroot login:
> --->---
> 
> Here I enter "root" as usual, press Enter and that's it.
> "whoami" says "root" and I may modify any files etc.
> 
> What do I do wrong?

Weird, when I tested I had to add "console" to /etc/securetty,
otherwise login would not let me log in as root. Are you using just
Busybox, or some other login/getty implementation? Are you using an
unmodified /etc/securetty?

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list