From owner-freebsd-newbies@FreeBSD.ORG Wed Mar 23 00:18:48 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 7947916A4CE for ; Wed, 23 Mar 2005 00:18:48 +0000 (GMT) Received: from post-23.mail.nl.demon.net (post-23.mail.nl.demon.net [194.159.73.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC37143D1F for ; Wed, 23 Mar 2005 00:18:47 +0000 (GMT) (envelope-from albi@scii.nl) Received: from aseed.demon.nl ([83.160.138.119]:9944 helo=mail.aseed.antenna.nl) by post-23.mail.nl.demon.net with esmtp (Exim 4.43) id 1DDtaA-000GHC-Su; Wed, 23 Mar 2005 00:18:46 +0000 Received: from http.aseed.antenna.nl (unknown [192.168.0.50]) by mail.aseed.antenna.nl (Postfix) with ESMTP id E11FF2841A7; Wed, 23 Mar 2005 01:20:48 +0100 (CET) Received: from localhost.localdomain (f80052.upc-f.chello.nl [80.56.80.52]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by http.aseed.antenna.nl (Postfix) with ESMTP id 0A6E558D6D3; Wed, 23 Mar 2005 01:18:51 +0100 (CET) Date: Wed, 23 Mar 2005 01:18:44 +0100 From: "albi@scii.nl" To: goatse@Phreaker.net Message-Id: <20050323011844.5c76cbed.albi@scii.nl> In-Reply-To: <424089C0.10902@Phreaker.net> References: <424089C0.10902@Phreaker.net> X-Mailer: Sylpheed version 1.0.0 (GTK+ 1.2.10; i386-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-newbies@freebsd.org Subject: Re: 2 newb questions X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Mar 2005 00:18:48 -0000 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 > i'm using openssh-portable from ports, and it works fine, perhaps you need this in sshd_config as default ? SyslogFacility AUTH LogLevel INFO > 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 this is a possible script to use : #!/bin/sh /usr/local/sbin/portsclean -CD /usr/local/bin/cvsup -g -L 2 /root/bin/ports-supfile # /usr/local/sbin/portsdb -uU # changed this (line above) because making the INDEX takes really long cd /usr/ports/ make fetchindex # these last 2 lines needs to be 1 line : /usr/local/sbin/portversion -v | /usr/bin/grep needs | /usr/bin/mail -s "Ports die niet up to date zijn" your@emailaddress.nu