While setting up FTP server, i choose  VSFTPD “Very Secure FTP Daemon” for default application. For this, i do followings steps:

VSFTPD has following features:

  • Virtual IP configurations
  • Virtual users
  • Standalone or inetd operation
  • Powerful per-user configurability
  • Bandwidth throttling
  • Per-source-IP configurability
  • Per-source-IP limits
  • IPv6
  • Encryption support through SSL integration…

I installed it as,

After installing the ftp server, i create virtual users as,

Then, the file is save and exit. Now, i installed the db-util package as,

And, i created actual database of user as,

After that, i did following ftp configuration in /etc/vsftpd.conf as,

Now, i created a PAM (Pluggable Authentication Module) file for using virtual user database that we have created earlier as,

sudo vim /etc/pam.d/vsftpd.virtual

I created a directory for virtual users as,

Finally i restart the vsftpd and tested it as,




That’s it. Cheers!!