Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 May 1998 12:40:06 -0500
From:      MIKE JENKINS <jenkins.mike@epamail.epa.gov>
To:        kyle16@home.com
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Syslog
Message-ID:  <s5657280.017@wpmail.gbr.epa.gov>

next in thread | raw e-mail | index | archive | help
On Thu, 21 May 1998 17:55:51 -0400, Kyle <kyle16@home.com> 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 <TABS> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?s5657280.017>