allow ftp access, not shell access

Ray ray at stilltech.net
Mon Apr 30 01:17:29 UTC 2007


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



More information about the freebsd-questions mailing list