LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-13-2009, 10:32 PM   #1
abefroman
Senior Member
 
Registered: Feb 2004
Location: lost+found
Distribution: CentOS
Posts: 1,430

Rep: Reputation: 55
Is their a more secure way to handle logwatch reports, rather than using email?


Is their a more secure way to handle logwatch reports, rather than using email?

TIA
 
Old 10-13-2009, 10:41 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
1. scp/sftp
2. pipe through gpg, then email

Probably others, depends exactly what you need eg you could have it not email and just login to look at the reports...
 
Old 10-13-2009, 10:45 PM   #3
abefroman
Senior Member
 
Registered: Feb 2004
Location: lost+found
Distribution: CentOS
Posts: 1,430

Original Poster
Rep: Reputation: 55
Quote:
Originally Posted by chrism01 View Post
1. scp/sftp
2. pipe through gpg, then email

Probably others, depends exactly what you need eg you could have it not email and just login to look at the reports...
Thanks

I see this in the config file:
Code:
# if set, the results will be saved in <filename> instead of mailed
# or displayed.
#Save = /tmp/logwatch
Is there a way to get it to add the date to to the filename? What would the syntax be? /tmp/logwatch-%m.%d ?
 
Old 10-14-2009, 12:35 AM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Well, the man page http://linux.die.net/man/8/logwatch doesn't say anything, so I'd be inclined to doubt it, but you could just try it.
Alternatively, set the filename to what ever you want (as a base filename) and then let logrotate deal with it http://linux.die.net/man/8/logrotate using the dateext option in the logrotate conf.
 
Old 10-14-2009, 01:01 AM   #5
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Rep: Reputation: 231Reputation: 231Reputation: 231
emails is pretty secure
and plenty secure for your purposes
heres a tip: do not be paranoid
they send personal information thru emails infact
 
Old 10-14-2009, 03:39 AM   #6
JulianTosh
Member
 
Registered: Sep 2007
Location: Las Vegas, NV
Distribution: Fedora / CentOS
Posts: 674
Blog Entries: 3

Rep: Reputation: 90
Quote:
Originally Posted by smeezekitty View Post
emails is pretty secure
and plenty secure for your purposes
heres a tip: do not be paranoid
they send personal information thru emails infact
Wow. Smeezekitty, I'm really quite astonished by your assumptions.

Email is no where close to secure, by any means, and I'm sure the OP will appreciate your assigning a definition of security to his "purposes". Amazing.

OP, I think your most expedient solution is to use the save-to-file with a follow-up cron job to pgp encrypt the file and pipe to send.
 
  


Reply



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
logwatch report Connections (secure-log) Begin pumkum Linux - Security 1 02-14-2009 04:36 AM
Logwatch reports with no crontab command davidmc57 Linux - Security 5 09-11-2006 04:08 PM
Logwatch reports SSHD Killed: / Failed to bind: 0.0.0.0 port 22 rioguia Linux - Security 1 08-13-2005 12:24 PM
Logwatch can't email me soren625 Linux - General 15 12-16-2004 11:02 AM
Secure email (SSL vs. secure authentication) jrdioko Linux - Newbie 2 11-28-2004 01:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:13 PM.

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
Open Source Consulting | Domain Registration