Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to archive system logs monthly

Status
Not open for further replies.

elsaro

Technical User
Joined
Sep 24, 2003
Messages
2
Location
RO
How can I archive and then back-up monthly system logs like failedlogin, wtmp, sulog using the syslog.conf file?Is there a method of rewriting this log files every month?
 

The three log files you mention are not managed by syslog so you can't do it that way. You would need to use cron and some simple archive script.

Cheers

Henrik Morsing
Certified AIX 4.3 Systems Administration
& p690 Technical Support
 
Thanks for the tip.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top