Install and Configure ProFTPD on Ubuntu

ProFTPD (short for Pro FTP daemon) is an FTP server. ProFTPD is Free and open-source software, compatible with Unix-like systems and Microsoft Windows (via Cygwin). Along with vsftpd and Pure-FTPd, ProFTPD is among the most popular FTP servers in 
Unix-like environments today. Compared to those, which focus e.g. on simplicity, speed or security, ProFTPD's primary design goal is to be a highly feature rich FTP server, exposing a large amount of configuration options to the user.
Step 1: Install ProFTPD
First, you’ll follow a simple best practice: ensuring the list of available packages is up to date before installing anything new.
[root@hackthesec]# apt-get update
Then let’s install ProFTPD and any required packages:
[root@hackthesec]# apt-get -y install proftpd
During the install process you’ll be prompted with the following screen:
Select standalone and then Ok to finish the installation.
Step 2: Configure ProFTPD
Let’s edit the configuration file for ProFTPD:
[root@hackthesec]# vi /etc/proftpd/proftpd.conf
Change the ServerName to the hostname of your server. In the case below, is an example:

ServerName ""

To limit users to their home directory uncomment the line that says DefaultRoot:

# Use this to jail all users in their homes
DefaultRoot ~

Exit and save the file with the command :wq .

Restart the ProFTPD service:
[root@hackthesec]# service proftpd restart
Then set the ProFTPD service to start at boot:
[root@hackthesec]# update-rc.d proftpd defaults

About Author:

I am a Linux Administrator and Security Expert with this site i can help lot's of people about linux knowladge and as per security expert i also intersted about hacking related news.TwitterFacebook

Newer Post
Older Post


Post a Comment