WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [SOLVED]ftp server  (Read 4357 times)

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
[SOLVED]ftp server
« on: March 19, 2014, 11:41:33 AM »
hi,
I wanted an ftp server allowing anonymous access.
I had to do following
(1)install vsftpd.tcz (server) & inetutils.tcz (give ftp command to try locally)
(2)sudo adduser ftp
sudo chmod a-w /home/ftp
sudo mkdir /home/ftp/all_can_access_this
sudo mount --bind source_directory all_can_access_this
(3)sudo vsftpd /usr/local/etc/vsftpd.conf
BTW , I keep password blank for user 'ftp' .

Can you suggest better alternative or improvements because i grumble about following ?
(a)even in case of anonymous access , you have to create user ftp
« Last Edit: March 24, 2014, 04:58:42 AM by manit123 »

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: ftp server
« Reply #1 on: March 19, 2014, 12:01:31 PM »
Did you try bftpd.tcz ? See Chapter 26 of the Book http://tinycorelinux.net/corebook.pdf
« Last Edit: March 19, 2014, 12:03:14 PM by bmarkus »
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: ftp server
« Reply #2 on: March 19, 2014, 02:45:24 PM »
For RO access you can use some existing user, like "nobody".
The only barriers that can stop you are the ones you create yourself.

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: ftp server
« Reply #3 on: March 20, 2014, 12:32:32 AM »
BTW , user 'tc' can login with blank password provided anonymous login is disabled.
what is password for user 'nobody' ? (blank does not work)
« Last Edit: March 20, 2014, 12:38:17 AM by manit123 »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: ftp server
« Reply #4 on: March 20, 2014, 04:56:48 AM »
Nobody has a disabled password. Thinking more on it, you would be better off with virtual users instead of system users.
The only barriers that can stop you are the ones you create yourself.

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: ftp server
« Reply #5 on: March 20, 2014, 08:13:00 AM »
this was for local purpose i.e connecting my laptop to desktop.
Anyway using 'tc' worked . I am able to upload & download as needed .
I will also try bftpd

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: ftp server
« Reply #6 on: March 20, 2014, 11:16:05 AM »
also tried bftpd . nice instructions in core book . makes configuring a cinch .
thanks bmarkus.