From owner-freebsd-questions Wed Nov 7 16:39: 7 2001 Delivered-To: freebsd-questions@freebsd.org Received: from webs1.accretive-networks.net (webs1.accretive-networks.net [207.246.154.13]) by hub.freebsd.org (Postfix) with ESMTP id D163937B416 for ; Wed, 7 Nov 2001 16:39:05 -0800 (PST) Received: from localhost (davidk@localhost) by webs1.accretive-networks.net (8.11.1/8.11.3) with ESMTP id fA80cxh67806; Wed, 7 Nov 2001 16:39:00 -0800 (PST) Date: Wed, 7 Nov 2001 16:38:59 -0800 (PST) From: David Kirchner X-X-Sender: To: BSD Freak Cc: FreeBSD Questions Subject: Re: FTP doesn't work unless user is assigned shell access In-Reply-To: <5268b54f08.54f085268b@mbox.com.au> Message-ID: <20011107163836.B44499-100000@localhost> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 5 Nov 2001, BSD Freak wrote: > Hiya all, > > Just in the process of beefing up security around here, so I decided > that FTP users don't need shell access. So I edited the password > databse and set their shell to /nonexistent and the /sbin/nologin > > After that they are refused FTP access...... Is there anyway I can stop > users from having shell access jyst because they have an FTP account? > > > Thank in advance...... This'll work fine - you just need to add the shell you set them up with in /etc/shells To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message