Google Plus

Howto- add FTP Users For VSFTP

Written by Mel Kham on . Posted in Frequently Asked Questions

Question : How to add FTP Users For VSFTP  Server ?

Answer :

Before you can add any users to VSFTP, the user must already exist on the  Linux server. If the user does not exist you will need to add the user.

Next you will need to find  the VSFTP configuration file. “vsftp.conf“  at “/etc/vsftp.conf“.

To create the new FTP user you must edit the “/etc/vsftp.conf” file and make the following changes:

chroot_list_enable=YES

save the file.

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”.

touch /etc/vsftp.chroot_list

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
Lastly restart the VSFTP service by typing the following:

service vsftp restart

now  try to connect from the  client

For questions please refer to our Q/A forum at : http://ask.unixmen.com

Mel Kham

Founder of Unixmen, Living in Amsterdam. Am working in my free time to help people to understand the Opensource and to explain them in easy way how to make the fist steps to the the light. Working day and night with my Co-founder Zinovsky to keep this website live even with less resources.
  • Someone

    “touch /etc/vsftp.chroot_list” missed a letter ‘d’ in vsftpd, should be “touch /etc/vsftpd.chroot_list”

  • durga

    Hi,

    I have installed vsftpd and its working fine with the local user and password
    but I need to create one ftp user and give access. how can i do that. Even I have created one use and tried accessing but fails.. :(

    Please help
    Durga

Like us on Facebook

This week Top Posts

Write for us

Recent Comments

Yilmaz Ulugtekin

|

Just delete the space after the slash (/) it will work.

Pat L

|

I tried it and it works with a regular zip file, but if you password-protect the .zip file it does NOT work.

SK

|

Yes we can. What kind of help you need? We are doing outsourcing and technical support for Linux and Open source worldwide. To know more about the details visit here.

ClintB

|

After install as above, run shell script /opt/Citrix/ICAClient/wfica.sh manually and note lib errors still occur. I had the x64 motif loaded but had to manually install the x86 too. Got that from http://rpmfind.net/linux/rpm2html/search.php?query=libXm.so.4 Even after that, I still had to do a “yum install alsa-lib.i686 alsa-lib.x86_64″ to resolve any additional libasound.so.2 errors. Once those two lib issues were resolved, Citix Web Interface launched apps fine by telling browser to open launch.ica using /opt/Citrix/ICAClient/wfica.sh. Good luck Ernesto!

AD

|

I need some Help on Linux,can you guide me ?

 
IDG Tech Network
Copyright © 2008-2013 Unixmen.com .
Maintained by Anblik .