View Single Post

  #2 (permalink)  
Old 01-30-2004
Cameron Kerr
 
Posts: n/a
Default Re: start program instead of login prompt

Axel Bock <axel@romteck.com> wrote:
> Hi all,
>
> I have this little problem: for a somewhat embedded linux system I
> require the system on console tty1 NOT to display a login prompt, but to
> start a shell script with a certain user and group ID.


You want to use rungetty. Don't just change /etc/inittab to run another
program, because there are terminal issues, such as carriage return
sequences. You'll find that if you don't use rungetty, you may very well
get stair-stepping.

--
Cameron Kerr
cameron.kerr@paradise.net.nz : http://nzgeeks.org/cameron/
Empowered by Perl!
Reply With Quote