Date: Sun, 29 Apr 2007 19:16:39 -0600 From: Ray <ray@stilltech.net> To: freebsd-questions@freebsd.org Subject: Re: allow ftp access, not shell access Message-ID: <200704291916.39442.ray@stilltech.net> In-Reply-To: <46353F16.202@hier7.com> References: <200704291104.18905.ray@stilltech.net> <46353DB8.20105@hier7.com> <46353F16.202@hier7.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 29 April 2007 6:57 pm, you wrote: > On 2007-04-29 20:52, Chris Slothouber wrote: > > On 2007-04-29 13:04, Ray wrote: > >> Hello, > >> I want to allow ftp access to other users, without giving them shell > >> access. how do I configure the adduser command to accomplish this, or is > >> this there some other way? > >> I have tried some things from google / man pages, but I'm not getting > >> it. user ftp home directory will be adjusted in the ftpchroot file. > > > > You can set the user's shell to /sbin/nologin. Also make sure this is > > listed in /etc/shells if you're using FreeBSD's ftpd or lukemftpd. > > Also see `man ftpchroot` for info on securing this. Thanks, I had caught that one but is there anything else I should do for the sake of security? Ray
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704291916.39442.ray>