It's pretty easy to install a Proftpd as ftp server.
To setup proftpd, need to edit /etc/proftpd/proftpd.conf (Debian)
- Create a user for ftp connection.
useradd -d /home/folder/for/this/ftp/user -s /bin/false # Do not allow this user login to shell - Edit proftpd.conf
- Uncomment "Require Valid Shell"
- Setup the ftp directory limition, below is a short example, check manual for other details.
<Directory /path/for/ftp>
<Limit All>
Allow All
</Limit>
</Directory>
0 评论:
Post a Comment