Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 May 1998 02:57:54 GMT
From:      mike@sentex.net (Mike Tancsa)
To:        kyle16@home.com (Kyle)
Cc:        questions@FreeBSD.ORG
Subject:   Re: Syslog
Message-ID:  <3564e8c6.227161270@mail.sentex.net>
In-Reply-To: <199805212226.SAA28446@ns.yawgoo.net>
References:  <199805212226.SAA28446@ns.yawgoo.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 21 May 1998 17:55:51 -0400, in sentex.lists.freebsd.questions
you wrote:

>Hello,
>	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.


in /etc/syslog.conf add


auth.*;authpriv.*        <TAB>    /var/log/authentic

do a 
touch /var/log/authentic

in /etc/newsyslog.conf
add something like

/var/log/authentic                         600  7     *    168   Z

Make sure you do a
kill -1 `cat /var/run/syslog.pid`

	---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?3564e8c6.227161270>