1VSFTPD(8) BSD System Manager's Manual VSFTPD(8)
2
4 vsftpd — Very Secure FTP Daemon
5
7 vsftpd [configuration file and / or options]
8
10 vsftpd is the Very Secure File Transfer Protocol Daemon. The server can
11 be launched via a “super-server” such as inetd(8) or xinetd(8). Alterna‐
12 tively, vsftpd can be launched in standalone mode, in which case vsftpd
13 itself will listen on the network. This latter mode is easier to use, and
14 recommended. It is activated by setting listen=YES in
15 /etc/vsftpd/vsftpd.conf. Direct execution of the vsftpd binary will then
16 launch the FTP service ready for immediate client connections.
17
18 Systemd changes the vsftpd daemon start-up. The vsftpd package contains
19 vsftpd-generator script generating symbolic links to /var/run/sys‐
20 temd/generator/vsftpd.target.wants directory. The generator is called
21 during e.g. 'systemctl --system daemon-reload'. All these symbolic links
22 link /usr/lib/systemd/system/vsftpd@.service file. The vsftpd daemon(s)
23 is/are controlled by one of following ways:
24
25 1. Single daemon using default /etc/vsftpd/vsftpd.conf configuration file
26 # systemctl {start,stop,...} vsftpd[.service]
27
28 2. Single daemon using /etc/vsftpd/<conf-name>.conf
29 # systemctl {start,stop,...} vsftpd@<conf-name>[.service]
30
31 3. All instances together
32 # systemctl {restart,stop} vsftpd.target
33
34 See systemd.unit(5), systemd.target(5) for further details.
35
37 An optional configuration file or files may be given on the command line.
38 These files must be owned as root if running as root. Any command line
39 option not starting with a "-" character is treated as a config file that
40 will be loaded. Note that config files are loaded in the strict order
41 that they are encountered on the command line. If no config files are
42 specified, the default configuration file of /etc/vsftpd/vsftpd.conf will
43 be loaded, after all other command line options are processed.
44
45 Supported options are:
46
47 -v Print the version information and exit, even if other options are
48 encountered.
49
50 -ooption=value
51 Set a single option, value pair as per the format in the config
52 file. Multiple -o options are supported, and they are applied in
53 strict order relative to their appearance on the command line,
54 including intermingling with loading of config files.
55
57 vsftpd -olisten=NO /etc/vsftpd/vsftpd.conf -oftpd_banner=blah
58
59 That example overrides vsftpd's built-in default for the "listen" option
60 to be NO, but then loads /etc/vsftpd/vsftpd.conf which may override that
61 setting. Finally, the "ftpd_banner" setting is set to "blah", which over‐
62 rides any default vsftpd setting and any identical setting that was in
63 the config file.
64
66 /etc/vsftpd/vsftpd.conf
67
68 /usr/lib/systemd/system/vsftpd.service
69
70 /usr/lib/systemd/system/vsftpd@.service
71
72 /usr/lib/systemd/system/vsftpd.target
73
75 vsftpd.conf(5) systemd.unit(5)
76
77 March 8, 2001