vsftpd.configro

mmp卸载了vsftpd后 配置文件没了 安装也没有 留个做备份 嘿嘿

原始的:

 1 # Please see vsftpd.conf.5 for all compiled in defaults.
 2 #
 3 # READ THIS: This example file is NOT an exhaustive list of vsftpd options.
 4 # Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd's
 5 # capabilities.
 6 #
 7 #
 8 # Run standalone?  vsftpd can run either from an inetd or as a standalone
 9 # daemon started from an initscript.
10 listen=NO
11 #
12 # This directive enables listening on IPv6 sockets. By default, listening
13 # on the IPv6 "any" address (::) will accept connections from both IPv6
14 # and IPv4 clients. It is not necessary to listen on *both* IPv4 and IPv6
15 # sockets. If you want that (perhaps because you want to listen on specific
16 # addresses) then you must run two copies of vsftpd with two configuration
17 # files.
18 listen_ipv6=YES
19 #
20 # Allow anonymous FTP? (Disabled by default).
21 anonymous_enable=NO
22 /etc/vsftpd.conf [FORMAT=unix] [TYPE=TXT] [POS=20,32][12%] 16/02/19 - 10:08     
23 :set nu!
View Code

启动:

/etc/init.d/vsftpd start

原文地址:https://www.cnblogs.com/jiujue/p/10386925.html