From owner-freebsd-questions Thu Jul 6 16:15: 2 2000 Delivered-To: freebsd-questions@freebsd.org Received: from symbion.srrc.usda.gov (symbion.srrc.usda.gov [199.133.86.40]) by hub.freebsd.org (Postfix) with ESMTP id 1A1AC37B866 for ; Thu, 6 Jul 2000 16:14:59 -0700 (PDT) (envelope-from gjohnson@nola.srrc.usda.gov) Received: (from glenn@localhost) by symbion.srrc.usda.gov (8.9.3/8.9.3) id SAA61194; Thu, 6 Jul 2000 18:14:20 -0500 (CDT) (envelope-from glenn) From: Glenn Johnson Date: Thu, 6 Jul 2000 18:14:20 -0500 To: Michael Cc: freebsd-questions@FreeBSD.ORG Subject: Re: allowing ftp logins but not shell logins Message-ID: <20000706181420.B60909@node1.cluster.srrc.usda.gov> Mail-Followup-To: glenn, Michael , freebsd-questions@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from cadaver@tucu.net on Thu, Jul 06, 2000 at 12:58:42PM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Jul 06, 2000 at 12:58:42PM -0700, Michael wrote: > Hi, > > I have a computer that several people are sharing remotely. I want to > be able to allow people to login via ftp or scp and put files on the > system to be made available via http but I don't want to allow them to > login to a shell. > > What I would like to have is something where persons can drop off > files in a certain directory and the files would be owned by a user > foo or by a group foo. How can I go about setting this up. Pointers to > man pages or anything else would be greatly appreciated. For FTP you could set up your user(s) and then put them into /etc/login.access. Something like "-:user:ALL"; man login.access(5). This would prevent them from logging in to a shell but would still allow FTP, as long as their shell is listed in /etc/shells. I am not sure how to make that work with scp as scp uses ssh which would check login.access and disallow the operation. -- Glenn Johnson USDA, ARS, SRRC Phone: (504) 286-4252 New Orleans, LA 70124 e-mail: gjohnson@nola.srrc.usda.gov To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message