Auto update
Ed Jobs
oloringr at gmail.com
Sun Apr 11 10:17:40 UTC 2010
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100411/cea9d82d/attachment.pgp
More information about the freebsd-questions
mailing list