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
--nextPart1480904.8WAciXB9yd Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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 >=20 > thanks, > Jos Chrispijnj you could try using syslog to do that. check the man page of syslog.conf, a= nd=20 search for "auth." you could then populate a file with the successful login= s=20 as they happen =2D-=20 Real programmers don't document. If it was hard to write, it should be hard= to=20 understand. --nextPart1480904.8WAciXB9yd Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEABECAAYFAkvBocAACgkQBPpdVEWKA33tuQCeKvtUWB84SVmdc2JZcAQvwQRC d+8AoJkRrNT3d2fUn54YuCAjHfnrKun4 =WXJB -----END PGP SIGNATURE----- --nextPart1480904.8WAciXB9yd--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004111317.36952.oloringr>