[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-security] Re:Securing RAQs - gShield adaption project proposal



Hi Michael

> The standard serial port connection just dead ends in the (useless) menu 
> where you can configure the RaQs basic network settings. Does anyone know how 
> to bind a root-shell to a serial port?

I can't say I've ever done it on a RaQ, but I've done it on other linux
boxes.  The stuff you're looking for is probably in the /etc/inittab
file.  I can't see any reference to a config menu on our Raq, but it's not
a 3i, so yours may be different.  You'll probably have a line like:

1:12345:respawn:/sbin/config-menu ttyS0

or some such.  You should be able to bind it to a login prompt by
replacing it with:

1:12345:respawn:/sbin/getty ttyS0

then running

/sbin/telinit q

To make init re-read the config file.  There's a few examples, as well as
all the getty command line params in the man page.

Best of luck & have happy new year to all,

John