From owner-freebsd-isp@FreeBSD.ORG Wed Aug 20 08:34:41 2003 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 97D8116A4BF for ; Wed, 20 Aug 2003 08:34:41 -0700 (PDT) Received: from luke.wtconnect.com (luke.wtconnect.com [64.232.164.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 952A643F93 for ; Wed, 20 Aug 2003 08:34:40 -0700 (PDT) (envelope-from sblaydes@wtconnect.com) Received: (from root@localhost) by luke.wtconnect.com (8.12.9/8.12.9) id h7KFYTrA062530; Wed, 20 Aug 2003 10:34:29 -0500 (CDT) (envelope-from sblaydes@wtconnect.com) Received: from wtconnect.com (office.wtconnect.com [64.232.160.2] (may be forged)) by luke.wtconnect.com (8.12.9/8.12.9av) with ESMTP id h7KFYSft062490; Wed, 20 Aug 2003 10:34:29 -0500 (CDT) (envelope-from sblaydes@wtconnect.com) Message-ID: <3F4394EC.10609@wtconnect.com> Date: Wed, 20 Aug 2003 10:34:04 -0500 From: Scott Blaydes User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Blake Swensen References: <3F439250.6010408@pyramus.com> In-Reply-To: <3F439250.6010408@pyramus.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS perl-11 cc: FreeBSD ISP List Subject: Re: Best methods for preventing SSH allowing FTP X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Aug 2003 15:34:41 -0000 Blake Swensen wrote: > Anyone have suggestions for the best methods for locking an account so > that a user or a group can only ftp/POP/IMAP and prevent all other access. > > Blake Give them a shell of /bin/false. You will need to actually create a file called /bin/false, and add it to /etc/shells. That will allow ftp/pop/imap and not allow them to log in via telnet/ssh. Scott Blaydes