LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices



Reply
 
Search this Thread
Old 05-16-2009, 07:19 PM   #1
frznchckn
Member
 
Registered: Jun 2006
Location: CA
Distribution: Ubuntu, CentOS, Scientific Linux
Posts: 97

Rep: Reputation: 15
Question redirect security related event messages to the system log?


How do I redirect security related event messages to the system log?

Bonus question, how do I make sure my logs stay around for at least 90 days?
 
Old 05-16-2009, 08:26 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,777
Blog Entries: 54

Rep: Reputation: 2977Reputation: 2977Reputation: 2977Reputation: 2977Reputation: 2977Reputation: 2977Reputation: 2977Reputation: 2977Reputation: 2977Reputation: 2977Reputation: 2977
If you mean the "authpriv" facility, check where it goes now with 'grep authpriv /etc/syslog.conf', then reroute to "the system log" (as if /var/log/secure isn't a "system log"). Logs are rotated. See /etc/logrotate.d/syslog for configuration ("rotate n" + "daily|weekly|monthly").
 
  


Reply

Tags
messages, redhat, security


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
system time in /var/log/messages amitbern Fedora 1 03-29-2009 11:07 AM
How to suppress SoftMAC filling system log with messages? zimon Linux - Wireless Networking 3 05-09-2007 01:05 PM
send log messages to another system anurag1510 Red Hat 7 10-11-2005 07:19 AM
wierd messages in system log ambelos Suse/Novell 2 03-16-2005 01:55 PM
strange system log messages ? deft Linux - Security 23 11-13-2004 10:47 AM


All times are GMT -5. The time now is 10:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration