From owner-freebsd-questions Fri May 22 10:41:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA04854 for freebsd-questions-outgoing; Fri, 22 May 1998 10:41:46 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from wpmail.gbr.epa.gov (wpmail.gbr.epa.gov [204.46.159.160]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id KAA04830 for ; Fri, 22 May 1998 10:41:38 -0700 (PDT) (envelope-from jenkins.mike@epamail.epa.gov) Received: from gbdomain-Message_Server by wpmail.gbr.epa.gov with Novell_GroupWise; Fri, 22 May 1998 12:41:36 -0500 Message-Id: X-Mailer: Novell GroupWise 4.1 Date: Fri, 22 May 1998 12:40:06 -0500 From: MIKE JENKINS To: kyle16@home.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Syslog Mime-Version: 1.0 Content-Type: text/plain Content-Disposition: inline Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 21 May 1998 17:55:51 -0400, Kyle asked: > I have FreeBSD 2.2.6-RELEASE. Could you please tell me how to make my >syslog log telnet/ftp attempts to the messages file. # echo \!inetd >> /etc/syslog.conf # echo "*.* /var/log/inetd.log" >> /etc/syslog.conf # touch /var/log/inetd.log # kill -HUP `cat /var/run/syslog.pid` # kill `cat /var/run/inetd.pid` # /usr/sbin/inetd -l Make sure those are between "*.*" and "/var/log/inetd.log" on line 2. Of course, you'll want to adjust /etc/rc.conf and maybe /etc/newsyslog.conf. Mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message