Differences

This shows you the differences between the selected revision and the current version of the page.

howto:vsftpd 2010/07/06 02:46 howto:vsftpd 2017/09/06 18:38 current
Line 2: Line 2:
I like "vim" as my editor and have that installed so I will use that but feel free to use any other editor like "joe" if you feel more comfortable with it. Thanks to fonz for helping me out with my installation. This wouldn't be possible without him! I like "vim" as my editor and have that installed so I will use that but feel free to use any other editor like "joe" if you feel more comfortable with it. Thanks to fonz for helping me out with my installation. This wouldn't be possible without him!
-====== Why USE VSFTP? ====== 
-Well you may have a different reason but mine was that I simply wanted more control over my ftp client and I wanted to force my users to use some sort of encryption. I have the DNS-321 which is a great little device and according to my reading these instructions should work for the dns-323 and well any CH3SNAS device. 
 +====== Why Use VSFTP? ======
 +Well, you may have a different reason but mine was that I simply wanted more control over my ftp client. I also wanted to force my users to use some sort of encryption. I have the DNS-321 which is a great little device and according to my reading these instructions should work for the DNS-323, DNS-343, and probably any CH3SNAS device.
-====== How to vsftpd ====== 
-First step is of course install fun-plug. + 
-You can find the wiki [[http://wiki.dns323.info/howto:fun_plug]] and that should get you going.  +====== How to Set Up VSFTPD ====== 
-or you can use these instructions [[http://www.iterasi.net/openviewer.aspx?sqrlitid=1hqeasef7eavz8rdkus60a]] which were the original ones I used.+ 
 +The first step is to install fun_plug. You can find the wiki [[http://dns323.kood.org/]] and that should get you going.  
 +Or you can use these instructions [[http://www.iterasi.net/openviewer.aspx?sqrlitid=1hqeasef7eavz8rdkus60a]] which were the original ones I used.
Line 92: Line 93:
By the way these must be real users on your box. If they dont exist you must create them. By the way these must be real users on your box. If they dont exist you must create them.
-====== Adding Users to your box ====== 
-You can check which users exist in your box by seeing the contents of your /etc/passd file+====== Adding Users to Your Box ====== 
 + 
 +You can check which users exist on your box by seeing the contents of your /etc/passwd file.
-By default after installation of fun-plug yours should look like this+After installation of fun_plug, your default user list should look like this:
<code bash> <code bash>
Line 106: Line 108:
</code> </code>
-now we add a user using the useradd command heres a brief example+Now we add a user via the useradd command. Here is an example:
-d = home directory this is where your user will be chrooted -d = home directory this is where your user will be chrooted
-s = shell /bin/sh is like a false shell to my understanding -s = shell /bin/sh is like a false shell to my understanding
Line 117: Line 119:
</code> </code>
-Ok now we added our user bob so we can see the /etc/passwd file has changed.+Ok now user bob is added, so we can see the /etc/passwd file has changed:
<code bash> <code bash>
Line 129: Line 131:
-:!: But wait don't go too fast!  +:!: But wait! Don't go too fast!  
-We need to save our changes because if we reboot now that user we just added will go bye-bye.+We need to save our changes because if we reboot now that new user go bye-bye. Save changes with:
<code bash> <code bash>
Line 137: Line 139:
-Ok at this point we have our users, user_list and chrootlist files, our log directory set up, our chroot directory set up, and the pachkage installed. The last thing that needs to be done is to set up the certificate file and key, configure the server and write our startup script. We are almost there I promise.+Now we have our users, user_list, and chrootlist files, our log directory set up, our chroot directory set up, and the package installed. The last things that need to be done are to set up the certificate file and key, configure the server, and write our startup script. We are almost done, I promise.
====== To create your ssl key and crt files ====== ====== To create your ssl key and crt files ======

Navigation

Personal Tools