Translate

Thursday, June 13, 2013

Tips and Tricks for OpenBSD - Terminal Configurations

.: How to configure the OpenBSD terminals :.

Linux users who had any contact with the /etc/inittab file are going to love this one! ;-)

This quick guide is gonna show you how to configure the number of virtual terminals on OpenBSD.

Before you go ahead and crash just after figuring you that BSD systems do NOT have inittab file, I should tell you this: BSD systems do NOT have inittab file! =)

But you're ok if you edit que /etc/ttys file!

So, hands on! Here is how you can control the number of virtual terminals.

#
# $OpenBSD: ttys,v 1.3 2008/01/09 17:39:42 miod Exp $
#
# name getty type status comments
#
console "/usr/libexec/getty std.9600" vt220 on secure
ttyC0 "/usr/libexec/getty std.9600" vt220 on secure
tty00 "/usr/libexec/getty std.9600" unknown off secure
tty01 "/usr/libexec/getty std.9600" unknown off secure
tty02 "/usr/libexec/getty std.9600" unknown off secure
tty03 "/usr/libexec/getty std.9600" unknown off secure
ttyp0 none network
ttyp1 none network
ttyp2 none network

Note that just the console and ttyC0 (accessed by Ctrl+Alt+F1) are active ;-)
Got the idea? Great! Now go configure your servers! ;-)


No comments:

Post a Comment