Date: Thu, 6 Jul 2000 18:14:20 -0500 From: Glenn Johnson <gjohnson@nola.srrc.usda.gov> To: Michael <cadaver@tucu.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: allowing ftp logins but not shell logins Message-ID: <20000706181420.B60909@node1.cluster.srrc.usda.gov> In-Reply-To: <Pine.BSF.4.10.10007061249020.78513-100000@tucu.net>; from cadaver@tucu.net on Thu, Jul 06, 2000 at 12:58:42PM -0700 References: <Pine.BSF.4.10.10007061249020.78513-100000@tucu.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000706181420.B60909>