注意:

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

Package:Vsftpd

From Funtoo
Revision as of 22:03, June 28, 2014 by Oleg (talk | contribs)
Jump to navigation Jump to search

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