Solved

I want to put the firewall logs on the tty9

Posted on 2000-05-10
1
316 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

752 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