At 08:53 PM 3/20/00 +0100, Bernhard Rosenkraenzer wrote:
>On Mon, 20 Mar 2000, kapil wrote:
>
>> How to configure my linux server (redhat linux 6.1) to have 12 virtual
>> consoles.
>
>Add to /etc/inittab:
>7:2345:respawn:/sbin/mingetty tty7
>8:2345:respawn:/sbin/mingetty tty8
>9:2345:respawn:/sbin/mingetty tty9
>10:2345:respawn:/sbin/mingetty tty10
>11:2345:respawn:/sbin/mingetty tty11
>12:2345:respawn:/sbin/mingetty tty12
>
>> I also want to run my log files like "/var/log/messages" on one of
>> the virtual consoles.
>
>The easiest way is to simply do
>tail -f /var/log/messages &>/dev/tty12 &
>
>LLaP
>bero
>
Another way is to edit /etc/syslog.conf and add a line:
*.* /dev/tty12
This will send a copy of ALL syslog messages to vc 12. Just don't
have a copy of mgetty running on that vc. You can also use other
syslog configurations if you only want some of the messages.
Here are two that I like...
local2.* /dev/tty8
*.debug /dev/tty9
The first sends ppp related stuff to vc 8, and the second sends a copy
of debug messages to vc 9 But then, I only have mingetty running on the
first 3 vc's on that machine...
Mikkel
Do not meddle in the affairs of dragons,
for you are crunchy and taste good with ketchup.
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.