From owner-freebsd-stable Tue Jan 15 9: 6:33 2002 Delivered-To: freebsd-stable@freebsd.org Received: from pi.yip.org (pi.yip.org [199.45.111.121]) by hub.freebsd.org (Postfix) with ESMTP id B77D837B402 for ; Tue, 15 Jan 2002 09:06:29 -0800 (PST) Received: (from melange@localhost) by pi.yip.org (8.11.3/8.11.3) id g0FH6Ps98396; Tue, 15 Jan 2002 12:06:25 -0500 (EST) (envelope-from melange@yip.org) Date: Tue, 15 Jan 2002 12:06:24 -0500 From: Bob K To: admin Cc: freebsd-stable@freebsd.org Subject: Re: Logging ssh?? Message-ID: <20020115120624.I21567@yip.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from admin@crimelords.org on Tue, Jan 15, 2002 at 10:49:23AM -0600 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Add these two lines to /etc/syslog.conf: !sshd *.* /var/log/syslog Or, move your *.*,cron.non line *above* any lines that begin with !. then kill -HUP `cat /var/run/syslogd.pid` Don't forget to add a line in /etc/newsyslog.conf for /var/log/syslog. And this sort of question is best asked of freebsd-questions. On Tue, Jan 15, 2002 at 10:49:23AM -0600, admin wrote: > I'm trying to get failed log-in attempts setup to go to my syslog or > messages file (/var/log) and have had zero success. Openssh 2.9 on > freeBSD4.4 stable > > I must be missing something in the syslog.conf, so i put in the line > > *.*,cron.none /var/log/syslog > > no spaces, only tabs...then 'touch /var/log/syslog' > > I then tail the syslog file and fail to log in from 3 sources outside and > see nothing. > > sshd_config loggin settings have been from default of > # Logging > SyslogFacility AUTH > LogLevel INFO > > I then tried: > # Logging > SyslogFacility AUTH > LogLevel VERBOSE > > I then tried: > # Logging > SyslogFacility AUTH > LogLevel DEBUG > > Not sure what it is i'm missing. I've HUP'ed every service, and read what > I could, but it sitll fails to log. Is this not a feature? or am I just > missing something simple? > > --emacs > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-security" in the body of the message -- Bob | Please don't feed the sock puppet. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message