From owner-freebsd-questions@FreeBSD.ORG Sun Apr 11 10:17:40 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F3A061065670 for ; Sun, 11 Apr 2010 10:17:39 +0000 (UTC) (envelope-from oloringr@gmail.com) Received: from mail-bw0-f216.google.com (mail-bw0-f216.google.com [209.85.218.216]) by mx1.freebsd.org (Postfix) with ESMTP id 750B68FC16 for ; Sun, 11 Apr 2010 10:17:39 +0000 (UTC) Received: by bwz8 with SMTP id 8so2042253bwz.3 for ; Sun, 11 Apr 2010 03:17:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:x-face:mime-version:content-type :content-transfer-encoding:message-id; bh=Fye1baDIqybJikrPsN0vUvL4LuBT2yiki/omW5pAQyo=; b=daM53Y2Lg+1qD7ryEUu5Jp5LgOLSVNmMA6MmuQIEjawkFdT7ZPiKF2+qkC8yjmdTYk McfKWWWD2xhchzL2iYd86sAAz1UDpjTs2lrnvj1VmLollhvh9EB1TdbV/emP36IlVul2 //qcvjqb+JW9i7SGhk0CHx9bUNpQEvyaNWlXo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:x-face :mime-version:content-type:content-transfer-encoding:message-id; b=KzEvN0a0BdvVMEpjPVZ0T3Q+BtNdN5nRQaki7ehGjEXo8Xi+QYvy/m7DnSqPXD5F5T tr50Q4RscioetUZDotdhR6UVxl8xd7bMz6gjwPAuhC2gEOVmD/OSWwva9QXHlbPh4Saa oZB3FOOX4cuJasmo5XmPpNWPfSXZo4j4/V0Jo= Received: by 10.204.141.78 with SMTP id l14mr2899988bku.85.1270981058234; Sun, 11 Apr 2010 03:17:38 -0700 (PDT) Received: from media.localnet (77.49.170.251.dsl.dyn.forthnet.gr [77.49.170.251]) by mx.google.com with ESMTPS id 16sm1238260bwz.13.2010.04.11.03.17.37 (version=SSLv3 cipher=RC4-MD5); Sun, 11 Apr 2010 03:17:37 -0700 (PDT) From: Ed Jobs To: freebsd-questions@freebsd.org Date: Sun, 11 Apr 2010 13:17:36 +0300 User-Agent: KMail/1.13.2 (Linux/2.6.32-ARCH; KDE/4.4.2; i686; ; ) References: <4BC168D8.7080900@webrz.net> <4BC1972B.1080603@webrz.net> In-Reply-To: <4BC1972B.1080603@webrz.net> X-Face: %5EDs|At1pm>WE%P0}6)Hi*s, JH2J${69~j)R"Yu'^P9R3#fvi{LmpsCzxvX*38/, kxcUd QVrlS0G,}-ll{||\P]; *'Gz`RTG+dzconmNyDY3rJHBmpEJkFj|; %vZO&~T")='B<; 88~[ Cltx6#}N*E MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1480904.8WAciXB9yd"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201004111317.36952.oloringr@gmail.com> Subject: Re: Auto update X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Apr 2010 10:17:40 -0000 --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--