Adding FTP Users For VSFTP

  1. You will need to log into your Linux server using SSH / Shell. If you are on a Windows workstation you will need to download Putty or if you are using a MacOSX based workstation you can use the built in Telnet application.

  2. Before you can add any users to VSFTP, the user must already exist on the server. If the user does not exist you will need to add the user. You can refer to our article on how to create linux users (Link)

  3. Next you will need to locate the VSFTP configuration file. This is referred to by the server as "vsftp.conf" and is normally located at "/etc/vsftp.conf".

  4. To create the new FTP user you must fire edit the "/etc/vsftp.conf" file and make the following change:

  5. chroot_list_enable=NO

    Change this to: 

    chroot_list_enable=YES

  6. If it is already set to "chroot_list_enable=YES" you can skip step 4. If it was set to "chroot_list_enable=No" you will need to change as stated. Once you have made the change, save the file.

  7. Next you will need to create the user file which will be called "vsftpd.chroot_list". This will contain the users for the VSFTP server and will lock them down to their specific directly, which is done by name. Be sure to create this file in "/etc".

  8. touch /etc/vsftp.chroot_list
  9. Now that you created the user list, you will be able to add users to it directly. To add a user simply enter in the user that you already have on the server, one per line. An example of this would be as such.

Example: User1 User2 User3

  1. Lastly restart the VSFTP service by typing the following:
  2. service vsftp restart
  3. The users will be locked into their own directory sin
  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

Installing htop

htop is an interactive process viewer for Linux, which is a powerful alternative to the...

Bind Multiple IP Addresses to a Single Network Interface Card (NIC)

This tutorial demonstrates how to bind multiple IP addresses to a single NICI'll be using LAN...

Clear Memory Cache on Linux Server

By default the Linux OS has a very efficient memory management process that should be freeing any...

Set the time on a Linux server

Log into the server via SSHAt the shell prompt run the following command:date MMDDHHmmYYYYFor...

Check your disk usage in Linux

A good way to check your disk usage for folders on your Linux server is via shell.Download...