From owner-freebsd-current Fri Nov 21 13:43:12 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA15826 for current-outgoing; Fri, 21 Nov 1997 13:43:12 -0800 (PST) (envelope-from owner-freebsd-current) Received: from logues.rhn.orst.edu (logues.RHN.ORST.EDU [128.193.137.99]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id NAA15803 for ; Fri, 21 Nov 1997 13:43:04 -0800 (PST) (envelope-from logue@logues.rhn.orst.edu) Received: from localhost (logue@localhost) by logues.rhn.orst.edu (8.8.8/8.8.8) with SMTP id NAA01751; Fri, 21 Nov 1997 13:42:54 -0800 (PST) (envelope-from logue@logues.rhn.orst.edu) Date: Fri, 21 Nov 1997 13:42:54 -0800 (PST) From: logue To: Chris Young cc: freebsd-current@freebsd.org Subject: Re: Way to know if someone fingers you In-Reply-To: <1.5.4.16.19971121144025.2e8f26fa@c-unix.mountain.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Fri, 21 Nov 1997, Chris Young wrote: > >edit /etc/inetd.conf, and put a "-l" (dash ell) as an argument to fingerd. > > > >man fingerd > > > >-STEVEl > > > Thanks, > > I added the -l option, and restarted the system. I also read the man pages, > which told me that this would log the finger request to the syslog. > > How would I get this to log to a different file? would I need to change the > source code for fingerd and recompile? > > Chris Find out through what logging level fingerd is writing to syslog, and edit /etc/syslog.conf to reroute those messages to some other file like /var/log/secure. Figuring out what level it uses, and changing where it goes are something that I have yet to learn as well. In fact, I would like to know every possible way something can write to syslog so that I can solve this problem once and for all. For example, I want to route tcpd (tcp_wrapper) messages to /var/log/secure... I saw mention of NTP messages having their own level in syslog, now in 3.0 but I never noticed any evidence of such. Perhaps the person who made these changes, and commented about them in RELNOTES.TXT could comment on this, and learn us both??????? -STEVEl