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

Alexey Brodkin Alexey.Brodkin at synopsys.com
Tue Dec 23 21:18:56 UTC 2014


Hi Thomas,

On Tue, 2014-12-23 at 20:52 +0100, Thomas Petazzoni wrote:
> Dear Alexey Brodkin,
> 
> On Tue, 23 Dec 2014 14:35:40 +0000, Alexey Brodkin wrote:
> 
> > Even thought I haven't done any extensive testing I don't see any
> > suspicious behavior.
> > 
> > So I think "console" in BR2_TARGET_GENERIC_GETTY_PORT should be fine.
> 
> No, you can only login as root if you add "console" to /etc/securetty.

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?

-Alexey


More information about the buildroot mailing list