Package:Vsftpd

From Funtoo
Jump to: navigation, 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 Package:Vsftpd:

# 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

# 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:

# /etc/init.d/vsftpd start

To start vsftpd at boot:

# rc-update add vsftpd default