1 # Run standalone? vsftpd can run either from an inetd or as a standalone
2 # daemon started from an initscript.
5 # This directive enables listening on IPv6 sockets. By default, listening
6 # on the IPv6 "any" address (::) will accept connections from both IPv6
7 # and IPv4 clients. It is not necessary to listen on *both* IPv4 and IPv6
8 # sockets. If you want that (perhaps because you want to listen on specific
9 # addresses) then you must run two copies of vsftpd with two configuration
13 # Allow anonymous FTP? (Disabled by default).
16 # Uncomment this to allow local users to log in.
19 # Uncomment this to enable any form of FTP write command.
23 # Default umask for local users is 077. You may wish to change this to 022,
24 # if your users expect that (022 is used by most other ftpd's)
28 anon_mkdir_write_enable=NO
29 anon_other_write_enable=NO
31 # Activate directory messages - messages given to remote users when they
32 # go into a certain directory.
35 # If enabled, vsftpd will display directory listings with the time
36 # in your local time zone. The default is to display GMT. The
37 # times returned by the MDTM FTP command are also affected by this
41 # Activate logging of uploads/downloads.
44 # Make sure PORT transfer connections originate from port 20 (ftp-data).
45 connect_from_port_20=YES
47 # It is recommended that you define on your system a unique user which the
48 # ftp server can use as a totally isolated and unprivileged user.
49 #nopriv_user=ftpsecure
52 # Enable this and the server will recognise asynchronous ABOR requests. Not
53 # recommended for security (the code is non-trivial). Not enabling it,
54 # however, may confuse older FTP clients.
55 #async_abor_enable=YES
57 # You may fully customise the login banner string:
58 #ftpd_banner=Welcome to blah FTP service.
60 # You may restrict local users to their home directories. See the FAQ for
61 # the possible risks in this before using chroot_local_user or
62 # chroot_list_enable below.
65 # You may specify an explicit list of local users to chroot() to their home
66 # directory. If chroot_local_user is YES, then this list becomes a list of
67 # users to NOT chroot().
68 # (Warning! chroot'ing can be very dangerous. If using chroot, make sure that
69 # the user does not have write access to the top level directory within the
71 #chroot_local_user=YES
72 #chroot_list_enable=YES
74 #chroot_list_file=/etc/vsftpd.chroot_list
76 # You may activate the "-R" option to the builtin ls. This is disabled by
77 # default to avoid remote users being able to cause excessive I/O on large
78 # sites. However, some broken FTP clients such as "ncftp" and "mirror" assume
79 # the presence of the "-R" option, so there is a strong case for enabling it.
80 #ls_recurse_enable=YES
82 # This string is the name of the PAM service vsftpd will use.
83 pam_service_name=vsftpd
85 # This option specifies the location of the RSA certificate to use for SSL
86 # encrypted connections.
87 rsa_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
88 rsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
93 virtual_use_local_privs=YES