Adding user in vsftp server

My last article was about the installation of vsftp server in CentOS, and here is the detail on how you can make ftp users in it.

You can create users in linux using useradd command, however this user is not allowed to use ftp unless you configure it in vsftp configuration.

Step: 1

Edit vsftpd.conf, here is one my my servers

Step: 2

Create vsftpd.chroot_list in /etc

and add the user in it which you want to allow ftp

Step: 3

Restart vsftp

Now your user “testuser” is able to access his file using ftp.

Please follow and like us:
About shk

shk is a DevOps engineer with more than 12 years of experience in different organizations. He enthusiastic about learning new technologies and shares his knowledge through his blogs.

Comment Policy:

Your words are your own, so be nice and helpful if you can. Please, only use your real name, not your business name or keywords. Using business name or keywords instead of your real name will lead to the comment being deleted. Anonymous commenting is not allowed either. Limit the amount of links submitted in your comment. We accept clean XHTML in comments, but don't overdo it please.

Tell us what you're thinking...

All comments are moderated.

* Denotes required field.

*

*

Previous Post:
Next Post: