Note

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Difference between revisions of "Package:Vsftpd"

From Funtoo
Jump to navigation Jump to search
(initial commit)
 
Line 9: Line 9:
== Installation ==
== Installation ==
Install {{Package|net-ftp/vsftpd}}:
Install {{Package|net-ftp/vsftpd}}:
<console>###i##emerge vsftpd</console>
<console>###i## emerge vsftpd</console>


== Configuration ==
== Configuration ==
Line 34: Line 34:
{{fancywarning|dangerous, do not do this unless behind a firewall and kept intranet only}}
{{fancywarning|dangerous, do not do this unless behind a firewall and kept intranet only}}


<console>###i##chown ftp /home/ftp</console>
<console>###i## chown ftp /home/ftp</console>


{{File|name=/etc/vsftpd/vsftpd.conf|desc=|body=
{{File|name=/etc/vsftpd/vsftpd.conf|desc=|body=
Line 49: Line 49:


To start vsftpd immediately:
To start vsftpd immediately:
<console>###i##/etc/init.d/vsftpd start</console>
<console>###i## /etc/init.d/vsftpd start</console>


To start vsftpd at boot:
To start vsftpd at boot:
<console>###i##rc-update add vsftpd default</console>
<console>###i## rc-update add vsftpd default</console>


[[Category:Server]]
[[Category:Server]]
{{EbuildFooter}}
{{EbuildFooter}}

Revision as of 22:03, June 28, 2014

Vsftpd

   Tip

We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.


vsftpd is a major FTP server.

Installation

Install net-ftp/vsftpd:

root # emerge vsftpd

Configuration

64-bit Kernels

   /etc/vsftpd/vsftpd.conf - 500 OOPS: priv_sock_get_cmd work around
seccomp_sandbox=NO

See https://bugzilla.redhat.com/show_bug.cgi?id=845980

Anonymous read access

   /etc/vsftpd/vsftpd.conf
listen=YES
local_enable=NO
anonymous_enable=YES
write_enable=NO
anon_root=/home/ftp

Anonymous read/write access

   Warning

dangerous, do not do this unless behind a firewall and kept intranet only

root # chown ftp /home/ftp
   /etc/vsftpd/vsftpd.conf
listen=YES
local_enable=NO
anonymous_enable=YES
anon_upload_enable=YES
write_enable=YES
anon_mkdir_write_enable=YES
anon_root=/home/ftp

Init

To start vsftpd immediately:

root # /etc/init.d/vsftpd start

To start vsftpd at boot:

root # rc-update add vsftpd default