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

Buddrige David david.buddrige at mitswa.com.au
Mon Jul 12 09:58:54 WST 1999


thanks heaps guys... 8-)

problem solved... I love linux support... the more I use it, the more I wish
I'd discovered it years before I did... 8-)

cheers

David Buddrige
Software Engineer

> -----Original Message-----
> From:	Matt Kemner [SMTP:zombie at networx.net.au]
> Sent:	Monday, July 12, 1999 9:50 AM
> To:	'plug at linux.org.au'
> Subject:	Re: [plug] Does anyone know how to stop 6 tty sessions
> starting when you boo t up redhat 6?
> 
> 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