>From eds Thu Aug 5 01:05:55 1999
Subject: Re: Auto Login with a default user at boot up?
To: [EMAIL PROTECTED] (Pierre MONDIE)
Date: Thu, 5 Aug 1999 01:05:55 -0500 (CDT)
From: "Eric Seppanen" <eds@monster>
In-Reply-To: <[EMAIL PROTECTED]> from "Pierre
MONDIE" at Aug 5, 99 07:56:00 am
Content-Type: text
Content-Length: 799
Status: RO
>
> If you use initrd -what most embedded systems I know do, just add "exec
> $SH" at the end of /linuxrc, $SH being the shell you want to use : for
> example : exec /sbin/ash. The lightest yet usable shell I found was ash,
> with Bruce Perens excellent busybox utility for essential binaries -cat,
> ls, gunzip.
>
> You'll be logged as root :-)
>
Although if you do much serious debugging from this shell, it's nice to
have the environment variables, tty settings, etc. configured properly--
some of that stuff is normally done in getty and login. I've thought it
might be worthwhile to go dig all that stuff out of the getty and login
sources and put it in a standalone utility, but instead I just hacked
getty and login to not prompt for anything- really crude.
Eric Seppanen
[EMAIL PROTECTED]