Date: Sun, 11 Apr 2010 13:17:36 +0300 From: Ed Jobs <oloringr@gmail.com> To: freebsd-questions@freebsd.org Subject: Re: Auto update Message-ID: <201004111317.36952.oloringr@gmail.com> In-Reply-To: <4BC1972B.1080603@webrz.net> References: <4BC168D8.7080900@webrz.net> <F02E5989-F279-4059-9858-EF36FDA726FC@lafn.org> <4BC1972B.1080603@webrz.net>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Sunday 11 of April 2010 12:32, Jos Chrispijn wrote: > In order to find out if someone logged in, I should then first copy > auth.log to auth2.log, and do a compare and then do the tail trick. Have > to cron that every half a minute. > I would like to know if there is something that is alterted on the > moment that someone logs on thus forcing evt. your tail suggestion > > thanks, > Jos Chrispijnj you could try using syslog to do that. check the man page of syslog.conf, and search for "auth." you could then populate a file with the successful logins as they happen -- Real programmers don't document. If it was hard to write, it should be hard to understand. [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEABECAAYFAkvBocAACgkQBPpdVEWKA33tuQCeKvtUWB84SVmdc2JZcAQvwQRC d+8AoJkRrNT3d2fUn54YuCAjHfnrKun4 =WXJB -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004111317.36952.oloringr>
