WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Help needed: setting up FTP server  (Read 7411 times)

Offline wfinden01

  • Newbie
  • *
  • Posts: 2
Help needed: setting up FTP server
« on: March 09, 2011, 10:23:31 PM »
Now after three tries I thought a had better ask for help (none of them worked)

I have tried vsftpd, and proftpd (and others) and neither of them I could connected to it (there is no firewall running)

If some one can explain is a step by step process on how to setup (and install) a ftp server wit would be much appreciated

preferred if its vsftpd, but whatever else that warkis is fine as well, it really only for a few users

Thanks in advance

Offline wfinden01

  • Newbie
  • *
  • Posts: 2
Re: Help needed: setting up FTP server
« Reply #1 on: March 09, 2011, 11:37:14 PM »
Never mind, found the problem (it was with my router blocking it)

anyhow, the way setup (just in case anyone need this in future)

from a clean install
installed perl
installed proftpd
followed this:
Quote
                sudo ftpasswd --name readwrite --group --gid 1000 --file /etc/proftpd.group
                sudo ftpasswd --name readonly --group --gid 1001 --file /etc/proftpd.group
                sudo ftpasswd --name username_1 --passwd --home /mnt/ --shell /bin/false --uid 1000 --gid 1000 --file /etc/proftpd.passwd
                sudo ftpasswd --name username_2 --passwd --home /mnt/ --shell /bin/false --uid 1001 --gid 1001 --file /etc/proftpd.passwd


added
Code: [Select]
etc/proftpd.group
etc.proftpd.passwd
to /opt/.filetool.lst

and
Code: [Select]
/usr/local/etc/init.d/proftpd start

to /opt/bootlocal.sh

Offline robc

  • Sr. Member
  • ****
  • Posts: 447
Re: Help needed: setting up FTP server
« Reply #2 on: March 10, 2011, 12:47:22 PM »
Steps to get vsftpd running with system user logins:

install vsftpd with tce-load/appbrowser

edit /usr/local/etc/vsftpd.conf, make sure these lines are present/changed to:
   anonymous_enable=NO
   local_enable=YES
   write_enable=YES

add any additional users and add/change passwords

add /usr/local/etc/vsftpd.conf and all user profile data (/etc/shadow, /etc/passwd, etc.) to /opt/.filetool.lst

run system backup

start vsftpd:
Code: [Select]
sudo vsftpd &
Here is the manpage for vsftpd: http://vsftpd.beasts.org/vsftpd_conf.html
This has all of the options available to setup the ftp server how you want it.
"Never give up! Never surrender!" - Commander Peter Quincy Taggart

"Make it so." - Captain Picard