From owner-freebsd-newbies@FreeBSD.ORG Tue Mar 22 22:37:43 2005 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 53A4D16A4CE for ; Tue, 22 Mar 2005 22:37:43 +0000 (GMT) Received: from helium.webpack.hosteurope.de (helium.webpack.hosteurope.de [217.115.142.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id E82A343D1F for ; Tue, 22 Mar 2005 22:37:42 +0000 (GMT) (envelope-from me@hexren.net) Received: by helium.webpack.hosteurope.de running Exim 4.34 using asmtp helo=hexren.steenbuck.net) id 1DDs0L-0001ou-A0; Tue, 22 Mar 2005 23:37:41 +0100 Date: Tue, 22 Mar 2005 23:37:40 +0100 From: Hexren X-Mailer: The Bat! (v1.62i) Business X-Priority: 3 (Normal) Message-ID: <8922621387.20050322233740@hexren.net> To: Anon In-Reply-To: <42409D22.7080902@Phreaker.net> References: <424089C0.10902@Phreaker.net> <6e01203b050322134229620d59@mail.gmail.com> <3419921896.20050322225241@hexren.net> <42409D22.7080902@Phreaker.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-newbies@freebsd.org Subject: Re[2]: 2 newb questions X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Hexren List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Mar 2005 22:37:43 -0000 > Hexren wrote: >>>Check out freshports.org for the information on ports. It contains >>>everything you want and gives pretty simple instructions. >>> >>> >> >> >> >>>I couldn't tell you about the logs but I am sure someone will. >>> >>> >> >> >> >> >>>On Tue, 22 Mar 2005 22:10:24 +0100, Anon wrote: >>> >>> >>>>Hi im running freebsd 5.3 and I have some questions: >>>> >>>>1. how do I log ssh login attempts to a file? say /var/log/auth I have >>>>read syslogd man page and I dont get it at all >>>> >>>>2. how do I get some kind of a system that "warns" me when a port is old >>>>(there is a new in cvs database), example: I want to get an email when a >>>>new version of the port "firefox" comes out >>>> >>>>Thank you in advance for the answers! >>>> >>>> >> >>--------------------------------------------- >> >>My feeling is that the default install already logs everything that >>has to do with auth to /var/log/auth.log. >>This >>"auth.info;authpriv.info /var/log/auth.log" >>line in /etc/syslog conf defines to where that login information is >>sent. >> >>Hexren >> >> >> >> > dear hexren, > it seems as it only logs local connections > not su's (I wanna loog that too) > but only local logins as root! --------------------------------------------- I don't know if you can costumize the loging so much. In your position I would write a script to analyze the log files and pipe the syslog output through that script. "auth.info;authpriv.info | analyze.pl" I am not shure if the syntax is correct read man syslog. Hexren