From owner-freebsd-questions@FreeBSD.ORG Sun Apr 10 04:01:31 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2451C16A4CF for ; Sun, 10 Apr 2005 04:01:31 +0000 (GMT) Received: from szamoca.krvarr.bc.ca (szamoca.krvarr.bc.ca [142.179.111.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA48D43D49 for ; Sun, 10 Apr 2005 04:01:30 +0000 (GMT) (envelope-from sandy@krvarr.bc.ca) Received: from szamoca.krvarr.bc.ca (localhost [127.0.0.1]) by szamoca.krvarr.bc.ca (8.13.1/8.12.11) with ESMTP id j3A41MBE000366 for ; Sat, 9 Apr 2005 21:01:22 -0700 (PDT) (envelope-from sandy@szamoca.krvarr.bc.ca) Received: (from sandy@localhost) by szamoca.krvarr.bc.ca (8.13.1/8.12.11/Submit) id j3A41MOA000363; Sat, 9 Apr 2005 21:01:22 -0700 (PDT) (envelope-from sandy) From: Sandy Rutherford MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16984.42254.480019.606112@szamoca.krvarr.bc.ca> Date: Sat, 9 Apr 2005 21:01:18 -0700 To: freebsd-questions@freebsd.org In-Reply-To: <856341966.20050408053245@wanadoo.fr> References: <1492434941.20050407204225@wanadoo.fr> <16981.34396.918396.208453@szamoca.krvarr.bc.ca> <856341966.20050408053245@wanadoo.fr> X-Mailer: VM 7.07 under Emacs 21.3.1 X-krvarr.bc.ca-MailScanner-Information: Please contact postmaster@krvarr.bc.ca for more information. X-krvarr.bc.ca-MailScanner: Not scanned: please contact postmaster@krvarr.bc.ca for details. X-krvarr.bc.ca-MailScanner-From: sandy@szamoca.krvarr.bc.ca Subject: Re: How can I log every login via telnet? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Apr 2005 04:01:31 -0000 Anthony, On Fri, 8 Apr 2005 you wrote: > Sandy Rutherford writes: >> Check /var/log/auth.log. They should be logged there by default. > Thanks, that's just what I was looking for. >> You could also use tcpwrappers for better control over access and >> logging. See /etc/hosts.allow and "man 5 hosts_options". > I'd be mainly interested in restricting which user names can log on from > the Net through telnet, rather than which IP addresses. See login.access(5) and login.conf(5). Both provide this functionality. Sandy