From owner-freebsd-questions Fri Jul 7 15:27:35 2000 Delivered-To: freebsd-questions@freebsd.org Received: from tucu.net (adsl-63-194-67-246.dsl.snfc21.pacbell.net [63.194.67.246]) by hub.freebsd.org (Postfix) with ESMTP id AB23837BF1A for ; Fri, 7 Jul 2000 15:27:26 -0700 (PDT) (envelope-from cadaver@tucu.net) Received: from localhost (cadaver@localhost) by tucu.net (8.9.3/8.9.3) with ESMTP id PAA82511 for ; Fri, 7 Jul 2000 15:27:21 -0700 (PDT) (envelope-from cadaver@tucu.net) Date: Fri, 7 Jul 2000 15:27:21 -0700 (PDT) From: Michael To: freebsd-questions@FreeBSD.ORG Subject: Re: allowing ftp logins but not shell logins In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks to all those on this list that gave me some help. I re-read the ftpd man page more closesly and ended up adding /sbin/nologin to the /etc/shells file, adding the user in question to /etc/ftpchroot and making the user's homedirectory the directory where I wanted things dropped off. This got the job done, thanks again. Michael On Thu, 6 Jul 2000, 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. > > thanks, > > Michael > > p.s. I'm running FreeBSD 4.0-RELEASE > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message