Difference between revisions of "Package:Vsftpd"

From Funtoo
Jump to: navigation, 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, 28 June 2014

net-ftp/vsftpd


Current Maintainer(s):hwoarang@gentoo.org
wired@gentoo.org
Source Repository:Gentoo Portage Tree

Summary: Very Secure FTP Daemon written with speed, size and security in mind.


Vsftpd

vsftpd is a major FTP server.

Installation

Install net-ftp/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