4

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?

1 Answer 1

3

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.

4
  • 2
    FreeBSD 9.2 does not have appear to have an inittab file anywhere on the filesystem. Commented Jun 18, 2014 at 17:12
  • I edited the answer, hope the ttys file helps.
    – psimon
    Commented Jun 18, 2014 at 17:16
  • 1
    ttys it is! Was able to turn "off" in there, but I imagine commenting them out probably would have worked too. Commented Jun 18, 2014 at 19:24
  • On Ubuntu (server edition) their is multiple ttys files e.g /etc/init/tty6.conf I guess I should comment out start on runlevel [23] and not-container or change it to stop.
    – Salem F
    Commented Oct 9, 2022 at 1:09

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .