From owner-freebsd-questions@FreeBSD.ORG Tue Jul 1 14:28:21 2003 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 C38A837B401 for ; Tue, 1 Jul 2003 14:28:21 -0700 (PDT) Received: from out004.verizon.net (out004pub.verizon.net [206.46.170.142]) by mx1.FreeBSD.org (Postfix) with ESMTP id DDD3C43FA3 for ; Tue, 1 Jul 2003 14:28:20 -0700 (PDT) (envelope-from cswiger@mac.com) Received: from mac.com ([141.149.47.46]) by out004.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030701212820.QOJC246.out004.verizon.net@mac.com>; Tue, 1 Jul 2003 16:28:20 -0500 Message-ID: <3F01FCF2.8010003@mac.com> Date: Tue, 01 Jul 2003 17:28:18 -0400 From: Chuck Swiger Organization: The Courts of Chaos 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: Nick Wilson References: <006501c34014$e98f6bc0$d86d0251@studygw> In-Reply-To: <006501c34014$e98f6bc0$d86d0251@studygw> X-Enigmail-Version: 0.76.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at out004.verizon.net from [141.149.47.46] at Tue, 1 Jul 2003 16:28:19 -0500 cc: freebsd-questions@freebsd.org Subject: Re: Limiting an account to FTP only 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: Tue, 01 Jul 2003 21:28:22 -0000 Nick Wilson wrote: > I am wanting to limit an account to FTP only, for uploading web pages to a > server. I have ftpchroot'ed the account to limit access to the directories > I want to - is there any way of disabling all other access > (SSH/telnet/rlogin/SMTP auth etc). I thought about removing the shell type > from the user account but believe ftpd needs a shell to be specified to > validate the logon. You can use /usr/bin/false or /sbin/nologin as the shell for this FTP user. (Add whichever you use to /etc/shells...) -- -Chuck