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

Anthony J. Breeds-Taurima tony at cantech.net.au
Mon Jul 12 09:51:27 WST 1999


On Mon, 12 Jul 1999, Buddrige David wrote:

> Hi all,
> 
> We have a redhat 6 box, which we're using as our main file-server.. we have
> noticed that even though we're starting it in run-level 5 to go straight
> into X windows, it is still starting up 6 virtual console sessions...  we
> 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

you should see lines like:

1:12345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6


Probably the quiekest way would be to comment out 2..6 or you can remove the
"5" from each line. and then run 
telinit q


Yours Tony.



More information about the plug mailing list