Solved

I want to put the firewall logs on the tty9

Posted on 2000-05-10
1
273 Views
Last Modified: 2012-08-14
I do recently, the installation of a firewall over a lan, and I wan´t to have all the logs printed on the tty9, I do the same for all the other logs, but I dont´t know how to setup this.
sorry for my english.
0
Comment
Question by:gbarrio
1 Comment
 
LVL 1

Accepted Solution

by:
roald earned 50 total points
ID: 2797611
If you are using the --log option of ipchains, and get nothing in your /var/log/messages, then you will have to modify /etc/syslog.conf.

Put in this:

kern.info      /var/log/messages

If you want it in another file use another filename. Then you just add something like:

tail -f /var/log/messages > /dev/tty9 &

to your rc.local file.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now