[plug] /var/log/secure reporting

Daniel J. Axtens danielax at gmail.com
Mon Aug 8 11:08:34 WST 2005


grep?
cron?

0 23 * * * 3 grep [something] /var/log/secure | mail root at localhost

Just a guess (hopefully a better one!)

Daniel

Hmm, gtg, class beckons.

On 8/8/05, Senectus . <senectus at gmail.com> wrote:
> On 8/8/05, Daniel J. Axtens <danielax at gmail.com> wrote:
> > Perhaps you could add a command in your profile to log something. When
> > you log in and the profile is executed, the message is logged. How you
> > would log it is a good question though.
> >
> > You could even make it system-wide and root-only writeable by putting
> > it in /etc/profile.
> >
> I'd rather something that scoured the logs for accepted/successful
> logins in general.. cause the logs are telling me that someone is
> trying evey login under the sun, from exchange to tomcat...
> only telling me of my logins is kinda redundant.
> 
> --
> Ubuntu Hoary 5.04
> "Luminocity is a cracktastic technology testbed for Metacity." - From
> the gnome.org website
> www.modmeup.net
> _______________________________________________
> PLUG discussion list: plug at plug.org.au
> http://www.plug.org.au/mailman/listinfo/plug
> Committee e-mail: committee at plug.linux.org.au
> 


-- 
Neuronstorm: neuronstorm.sourceforge.net
The Neuronstorm Blog: leinad-golb.blogspot.com



More information about the plug mailing list