pixelgraft Posted November 15, 2012 Share Posted November 15, 2012 I'm running version: 5.0-rc4 without any issues and want to setup vsftpd. I've searched the forums and I know that vsftd.conf resides in /etc/vsftpd.conf, but I cannot find that etc folder at all. Note: I'm a Linux noob, so maybe I'm missing something obvious. Also note: I did a cat /etc/vsftpd.conf in a telnet putty and see the vsftpd.conf contents...now I just need to know where to find it on my flash so I can edit it. Doing a search on my flash for "vsftpd" returns nothing. Quote Link to comment
JonathanM Posted November 15, 2012 Share Posted November 15, 2012 It's not on your flash, it's only in RAM, and it's recreated as it is originally on every restart. You will need to save your edited file to the flash, and put the commands to copy it back into place and whatever else is needed to make vsftpd reread the file into your go file to be executed on reboot. Quote Link to comment
pixelgraft Posted November 15, 2012 Author Share Posted November 15, 2012 It's not on your flash, it's only in RAM, and it's recreated as it is originally on every restart. You will need to save your edited file to the flash, and put the commands to copy it back into place and whatever else is needed to make vsftpd reread the file into your go file to be executed on reboot. What commands do I place and where do I place them so that vsftps always reads my custom file on reboot? Where is this go file? Quote Link to comment
JonathanM Posted November 15, 2012 Share Posted November 15, 2012 http://lime-technology.com/forum/index.php?topic=9822.0 Quote Link to comment
pixelgraft Posted November 15, 2012 Author Share Posted November 15, 2012 Doesn't help. but, thanks. Quote Link to comment
dgaschk Posted November 15, 2012 Share Posted November 15, 2012 /boot/config/go or flash share: config\go Quote Link to comment
pixelgraft Posted November 15, 2012 Author Share Posted November 15, 2012 /boot/config/go or flash share: config\go Thanks, I found the go which at the moment is the default go. Now, I'm searching on what command line to put in so it will read my custom vsftpd.conf file I've made and placed on my flash in a "custom\etc" folder Quote Link to comment
pixelgraft Posted November 17, 2012 Author Share Posted November 17, 2012 Can anyone instruct how to load a custom vsftpd.conf if I create one in a custom folder on my flash? EG: I place a custom vsftpd.conf file in a folder on flash in "etc/custom" I then want my unraid to call that file when it boots instead of loading the default one that only exists in ram. I've searched for hours on many sites and cannot seem to find the command that I would place in my go file that would launch that custom vsftpd.conf file in my chosen directory. Anyone? Quote Link to comment
pixelgraft Posted November 21, 2012 Author Share Posted November 21, 2012 Can any of you linux gurus tell me: If I create a custom vsftpd.conf in a new folder on my flash called "extra" and then place the below at the end of my go file and reboot, will that load my custome vsftpd.conf and use that one? cd /boot/extra ./vsftpd.conf Quote Link to comment
dgaschk Posted November 22, 2012 Share Posted November 22, 2012 Add the following to the go file: [*]Copy the custom file to the correct location [*](re)start the ftp server Note that the ftp service is likely to be totally insecure with logins that require no password! Do not expose the server to the Internet unless you know how to make it secure! Quote Link to comment
pixelgraft Posted November 22, 2012 Author Share Posted November 22, 2012 Add the following to the go file: [*]Copy the custom file to the correct location [*](re)start the ftp server Note that the ftp service is likely to be totally insecure with logins that require no password! Do not expose the server to the Internet unless you know how to make it secure! Hi, Thanks for the reply. I didn't see any text of what to put in the go file. I'll not be allowing anonymous logins, and have also stripped the default 'ftp' user from the .conf Quote Link to comment
dgaschk Posted November 22, 2012 Share Posted November 22, 2012 Add the following to the go file: [*]Copy the custom file to the correct location [*](re)start the ftp server Note that the ftp service is likely to be totally insecure with logins that require no password! Do not expose the server to the Internet unless you know how to make it secure! Hi, Thanks for the reply. I didn't see any text of what to put in the go file. I'll not be allowing anonymous logins, and have also stripped the default 'ftp' user from the .conf These are general instructions. I don't have the details. The security warning applies. There may be non-anonymous logins enabled without passwords. A couple of year ago I disabled vsftp because it was totally un-secure but I don't remember the details. DO NOT expose this to the Internet without using a VPN or SSH. Quote Link to comment
dgaschk Posted November 23, 2012 Share Posted November 23, 2012 I found the tread here: http://lime-technology.com/forum/index.php?topic=16544.msg151923#msg151923 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.