[plug] Does anyone know how to stop 6 tty sessions starting when you boo t up redhat 6?

Matt Kemner zombie at networx.net.au
Mon Jul 12 09:49:31 WST 1999


On Mon, 12 Jul 1999, Buddrige David wrote:

> want to disable 5 of these virtual consoles when the system boots, so that
> we only have one virtual terminal... does anyone know how to do this?

edit /etc/inittab

Look for lines such as:

1:2345:respawn:/sbin/getty 38400 tty1
2:23:respawn:/sbin/getty 38400 tty2
3:23:respawn:/sbin/getty 38400 tty3
4:23:respawn:/sbin/getty 38400 tty4
5:23:respawn:/sbin/getty 38400 tty5
6:23:respawn:/sbin/getty 38400 tty6

And comment out (with # in front) lines containing tty2-tty6

Then run "telinit q" to tell init to reread inittab. It should then kill
the "getty" processes on those tty's.

 - Matt



More information about the plug mailing list