Freebsd – How to limit the number of getty processes started

freebsdgetty

I've got a FreeBSD (9.2) box that I'm trying to strip down as lightweight as possible. It's running on a VM server, so other than ttyv0, we don't ever use the console. I'd like (if possible and reasonable) to not start the extra getty processes that run ttyv1 through ttyv7. How do I accomplish that in a FreeBSD supported manner?

Best Answer

You can edit the /etc/inittab file and comment out the unneeded ttys.
Take a look at the inittab manpage here.

If inittab doesn't exist, take a look at the /etc/ttys file. It also has a manpage here.

Related Question