Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: manit123 on March 19, 2014, 11:41:33 AM

Title: [SOLVED]ftp server
Post by: manit123 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
Title: Re: ftp server
Post by: bmarkus on March 19, 2014, 12:01:31 PM
Did you try bftpd.tcz ? See Chapter 26 of the Book http://tinycorelinux.net/corebook.pdf
Title: Re: ftp server
Post by: curaga on March 19, 2014, 02:45:24 PM
For RO access you can use some existing user, like "nobody".
Title: Re: ftp server
Post by: manit123 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)
Title: Re: ftp server
Post by: curaga 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.
Title: Re: ftp server
Post by: manit123 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
Title: Re: ftp server
Post by: manit123 on March 20, 2014, 11:16:05 AM
also tried bftpd . nice instructions in core book . makes configuring a cinch .
thanks bmarkus.