Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Serial port loging
@ 2007-08-29 19:54 Johnnie Peters
  2007-09-04 15:51 ` Johnnie Peters
  0 siblings, 1 reply; 2+ messages in thread
From: Johnnie Peters @ 2007-08-29 19:54 UTC (permalink / raw)
  To: buildroot

Hi All,

I am building a buildroot environment for the CM-X270 board.  I have it 
defined to use "arm" "xscale" and "EABI".  I have added a getty for 
ttySA0 into the inittab and now I get a login prompt on the serial 
port.  I see that the "root" login has a blank password field int he 
/etc/shadow file so I expected it to just login in when I enter root.

Instead it pauses for a few seconds and displays the login prompt 
again.  I then set up the shutdown login to run reboot.  When I tried 
this I got an error that indicated it was not being ran as root so I set 
the owner ID of shutdown in the /etc/passwd file to be 0.  Now when I 
try to login as shutdown it also pauses for a few seconds and then 
displays the login prompt again.

Any ideas?

Thanks for any info,

Johnnie

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] Serial port loging
  2007-08-29 19:54 [Buildroot] Serial port loging Johnnie Peters
@ 2007-09-04 15:51 ` Johnnie Peters
  0 siblings, 0 replies; 2+ messages in thread
From: Johnnie Peters @ 2007-09-04 15:51 UTC (permalink / raw)
  To: buildroot

Hi All,

The problem was /dev/ttySA0 was not in the /etc/securetty file.

Johnnie

Johnnie Peters wrote:
> Hi All,
>
> I am building a buildroot environment for the CM-X270 board.  I have it 
> defined to use "arm" "xscale" and "EABI".  I have added a getty for 
> ttySA0 into the inittab and now I get a login prompt on the serial 
> port.  I see that the "root" login has a blank password field int he 
> /etc/shadow file so I expected it to just login in when I enter root.
>
> Instead it pauses for a few seconds and displays the login prompt 
> again.  I then set up the shutdown login to run reboot.  When I tried 
> this I got an error that indicated it was not being ran as root so I set 
> the owner ID of shutdown in the /etc/passwd file to be 0.  Now when I 
> try to login as shutdown it also pauses for a few seconds and then 
> displays the login prompt again.
>
> Any ideas?
>
> Thanks for any info,
>
> Johnnie
>
> _______________________________________________
> buildroot mailing list
> buildroot at uclibc.org
> http://busybox.net/mailman/listinfo/buildroot
>
>   

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-09-04 15:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-29 19:54 [Buildroot] Serial port loging Johnnie Peters
2007-09-04 15:51 ` Johnnie Peters

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox