Once you've made these changes, you'll need to restart the vsftpd service using the following command:
service vsftpd restart
How To Add An FTP User
You can create a new user that can be used for FTP by using the add-user command. Please note that the specific syntx of this command prevents access to the bash shell for the created FTP user. This command will work for both CentOS/Redhat and Ubuntu/Debian. To add a new FTP user, issue the following command while logged in via SSH, replacing NewUserName with the username you'd like to use.
useradd -m NewUserName -s /usr/sbin/nologin
Once the user has been added, set their password using the following command, replacing username with the name of the user:
You'll be prompted to enter the password twice. However, the password won't be visible as you type it. Be careful.
You should now be able to access the server via FTP using the IP address of the server, the username and password that you created, and port 21. Please note that the user will only have access to their specific home directory.