[oe] [PATCH] shadow.inc: Append serial devices mentioned in SERIAL_CONSOLE into /etc/securetty

Chris Larson clarson at kergoth.com
Wed May 26 15:02:58 UTC 2010


On Wed, May 26, 2010 at 4:04 AM, Khem Raj <raj.khem at gmail.com> wrote:

> * Some serial dev nodes are not part of /etc/securetty. So either
>  we can add them manually or deduce from SERIAL_CONSOLE. this does
>  the later. Tested on qemuarm which used ttyAMA0 for console and it
>  not listed in the securetty list. This authorizes root login on
>  the give named console.
>
> Signed-off-by: Khem Raj <raj.khem at gmail.com>
>

Nicely done, that looks quite useful for devices with unusual tty names for
their serial ports.

Acked-by: Chris Larson <clarson at kergoth.com>
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics



More information about the Openembedded-devel mailing list