FTP server on Gentoo OS

Word

Posted by JXLIU on April 10, 2020

Install vsftpd on Gentoo

1
emerge -av vsftpd

configurations

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# file /etc/vsftpd.conf
#connect_from_port_20=YES
anonymous_enable=NO
local_enable=YES
#read only
write_enable=YES
#enable logging of transfers
#xferlog_std_format=YES

#idle_session_timeout=20
#data_connection_timeout=20
#nopriv_user=nobody

#chroot_list_enable=YES
#chroot_list_file=/etc/vsftpd/chrootlist

#ls_recurse_enable=NO

Open vsftpd service

1
2
3
rc-server vsftpd start
## or
/etc/init.d/vsftpd start