Search results for:
Table of Contents
This guide will walk you through ProFTPd server installation and configuration, showing you how to customize your FTP server's actions by walking you through ProFTPd configuration.
Step 1: SSH into your Debian Installation
Step 2: Install Updates
Step 3: Install Proftpd
apt-get install proftpd
Step 1: First, we need to add a line to the /etc/shells file
Step 2: Then add the following line at the bottom
Step 3: Create the FTP directory
The FTP directory can be called anything you wish, but for now, we will call it FTP
Step 4: Create the directory for your virtual user
Replace \ with what you would like your virtual user to be called
Step 5: Create the FTP virtual user
useradd -p -d /home/FTP/ -s /bin/false
Replace \ with what you would like your virtual user to be called and replace \ with your desired password
Step 6: Make sure to change the permissions of the file to 777
chmod 777 FTP
If you're going to have multiple users, don't forget to add those directories into the FTP directory.
Step 1: Setting the default root directory
Step 2: Uncomment the DefaultRoot option. It will look like this at first
Please set it to this
Step 3: Set the directory per virtual user. At the bottom of this configuration file, add these lines.
Be sure to do this with each user.
Be sure to replace \ with the user(s) you created previously
Step 4: Starting the ProFTPd service
Written by Hostwinds Team / June 8, 2018