Jun
28
Install ProFTP
Filed Under Installation
Install ProFTP
#sudo apt-get install proftpd
Assign no shell access to ftp user. Add to end of file.
#sudo vi /etc/shells
/bin/false
Create user called ‘userftp’ with no shell access with default directory of /var/www. This is the home directory of the web server.
#sudo useradd userftp -d /var/www -s /bin/false
Set password to ‘userftp.’
#sudo passwd userftp
Give read and write permissions to /var/www directory.
#sudo chmod 777 /var/www
To speed up login, add the following to proftpd.conf.
#sudo vi /etc/proftpd/proftpd.conf
UseIPv6 off
ServerType standalone
UseReverseDNS off
IdentLookups off
Restart ProFTP
#sudo /etc/init.d/proftpd restart
Comments
Leave a Reply