Can I disable getty under Linux?

I am running Ubuntu Server 8.04. Do I really need all five getty tasks running? It automatically starts tty2 through tty6.

I know they don't consume a lot of resources, but they do consume limited space on the window I keep running to view the "top" program. If at least a few of them were gone, all my processes would fit within one screen.

If I never need a serial port, can I disable some or all of them? I do not know if they are required for the terminal to work, or to allow ssh access, which is all I really ever use.

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

I found this link.  Looks to do the trick.
Joseph GanSystem AdminCommented:
You can disable them by edit the /etc/inittab file, and comment out some of the ttys.

You must activate the changes that you made in /etc/inittab with the following command, which forces the init process to re-read the configuration file:
# init q
You can check it with the following command before and after the change:
# ps -ef | grep tty
Never the less, you'd be better leave one or two available, because you need them if your ssh didn't work.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Monis MontherSystem ArchitectCommented:
If your problem is the view of your top command , then you can install htop it will allow you to scroll down to the rest of the processes with the arrow keys
Yep...  Ganjos has it

 in my /etc/inittab:

# Run gettys in standard runlevels
1:2345: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

comment out as needed and restart '/sbin/init'  

# kill -HUP `ps -ef | grep init | grep -v grep | awk '{print $2}'`
# init q
for the so-inclined, just reboot...
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.