I just played with pureftp on DroboFS. I don’t know how much I can help since some of the file locations seem to be different in the DroboFS vs DroboShare. I am just going to list out what I did. (FYI, I cannot guarantee this is 100% secure or accurate since I am still playing around with the very basic linux that runs the DroboFS. Use the info below at your own discression and I am not responsible for anything that could occur if you follow what I did, yadda, yadda, yadda). If someone has a better way of setting this up or a better way of securing it, please respond so that I can learn as well.
First I installed Apache and DroboApps Admin Utility.
Next, I then installed dropbear so I can log into drobo and edit system files.
THE VERY NEXT THING, I ssh’d into the drobo and changed the root password!!!
Next, I then installed pure-ftp.
Once that was complete, I ssh’d into the DroboFS for the meat of the changes.
Step 1 - ‘ps | grep ftp’ to verify that pure-ftpd is running.
Step 2 - ‘df’ To find where my storage is located. On DroboFS, I see:
/dev/sda1 17156881544 294070564 16862810980 2% /mnt/DroboFS
Step 3 - ‘cd /mnt/DroboFS’ and ‘ls’ shows my Shares subdirectory and if I ‘cd Shares’ and ‘ls’ shows Public which is my shared volume I set up when I started using the DroboFS.
Step 4 - ‘mkdir /mnt/DroboFS/Shares/Public/FTP’
Step 5 - ‘cd /mnt/DroboFS/Shares/Public’
Step 6 - ‘chmod 777 FTP’ and ‘chmod +s FTP’ (or you chould do a ‘chown ftpuser FTP’ if your just going to have one account ftping into the drobo)
Step 7 - I did an ‘adduser ftpuser’ and gave a password and then confirmed the pasword.
Step 8 - vi etc/passwd and changed the home directory from ‘/home/ftpuser’ to
‘/mnt/DroboFS/Shares/Public/FTP/./’ the /./ at the end should force the FTP subdirectory to be the base directory for ftpuser, so when the user ftp’s in, he can’t ‘cd …’ or cd to any of the parent directories of FTP.
Step 9 - to test, I opened a command line window (or FTP application), and ftp’d to my DroboFS’s ip address.
I was then able to add files, see them, and pull them back down.
Now, I’ve notice a few issues with user accounts and root’s password when rebooting the DroboFS or playing with users in DroboDashboard. Don’t know if it is the same with DroboShare.
The other thing I was able to do was set up port forwarding on my router and then went to DynDNS.org and set up a free URL that points to my router. Now I can be at work, or a friends house and if I need to, ftp a file to my house without having to leave my home computer on.
I next plan to play with changing the ports for SSH and FTP from the default to some other ports going into my router to better secure it from potential threats.