ProFTPD - Installation + Création d'un user

1- Installer ProFTPD

apt install proftpd

2- Add this line in /etc/shells file (sudo gedit /etc/shells to open the file) :

/bin/false

3- Create User with specific home :

sudo useradd userftp -p your_password -d /home/FTP-shared -s /bin/false
sudo passwd userftp

4- Edit config ProFTPD :

/etc/proftpd/proftpd.conf

5- Add the following lines on FTP :

MasqueradeAddress	ftp.mydomain.com  # using a DNS name
MasqueradeAddress	123.45.67.89      # using an IP address 
  
6- Restart ProFTPD : 
service proftpd restart

Revision #2
Created 1 year ago
Updated 6 months ago by Idem