From owner-freebsd-questions Fri Dec 1 19: 8:32 2000 Delivered-To: freebsd-questions@freebsd.org Received: from backup.af.speednet.com.au (af.speednet.com.au [202.135.188.244]) by hub.freebsd.org (Postfix) with ESMTP id E659837B401 for ; Fri, 1 Dec 2000 19:08:22 -0800 (PST) Received: from backup.af.speednet.com.au (backup.af.speednet.com.au [172.22.2.4]) by backup.af.speednet.com.au (8.11.1/8.11.1) with ESMTP id eB237uF37891; Sat, 2 Dec 2000 14:07:57 +1100 (EST) (envelope-from andyf@speednet.com.au) Date: Sat, 2 Dec 2000 14:07:55 +1100 (EST) From: Andy Farkas X-Sender: andyf@backup.af.speednet.com.au To: Serial Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Need HELP to Log User Log-ins from the internet In-Reply-To: <908e5a$b6m$1@news1.xs4all.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 1 Dec 2000, Serial wrote: > Now I would like to log FTP and telnet Log-in's from teleworkers who connect > to the machine from the internet. > I woul like to see the time and IP numer from which users Log-in. > > I have looked at the /var/log/messages file but this only shows SU Login's. You probably want to do what the comment in /etc/syslog.conf says: # uncomment this to enable logging of all log messages to /var/log/all.log *.* /var/log/all.log After doing that, restart the deamon: touch /var/log/all.log kill -HUP `cat /var/run/inetd.pid` All messages will now be logged to that file. But that is not the real answer to your question :-) The real answer is that login(1) messages are logged with level daemon.info, ftp messages are logged with level ftp.* and you don't have these being logged via /etc/syslog.conf directives. Hope this helps :-) > > All help is greatly appriciated! > > Luke > -- :{ andyf@speednet.com.au Andy Farkas System Administrator Speednet Communications http://www.speednet.com.au/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message