[PLUG] start shell directly from init?

Galen Seitz galens at seitzassoc.com
Sat Nov 23 02:45:07 UTC 2002


I'd like to start a shell directly from init, bypassing getty and login.
I put this in my inittab:

# Run bash on first serial port.
S0:2345:respawn:/bin/bash --login

This does start bash, and if I do an 'exit', I immediate get another
bash prompt.  However, signals (ctl-c, ctl-z, and friends) do not work.  
For example, if I do a 'ping', I can never get control back.  It looks
like my problem may be related to terminal process groups.

Does anyone know the correct way to do this?

thanks,
galen






More information about the PLUG mailing list