Blame SOURCES/0004-Use-etc-vsftpd-dir-for-config-files-instead-of-etc.patch

90e381
From fff93602a4b252be8d674e27083dde68a7acf038 Mon Sep 17 00:00:00 2001
90e381
From: Martin Sehnoutka <msehnout@redhat.com>
90e381
Date: Tue, 6 Sep 2016 13:46:03 +0200
90e381
Subject: [PATCH 04/59] Use /etc/vsftpd/ dir for config files instead of /etc.
90e381
90e381
---
90e381
 EXAMPLE/INTERNET_SITE/README         |  6 +++---
90e381
 EXAMPLE/INTERNET_SITE_NOINETD/README |  4 ++--
90e381
 EXAMPLE/PER_IP_CONFIG/README         |  4 ++--
90e381
 EXAMPLE/VIRTUAL_USERS/README         | 14 +++++++-------
90e381
 FAQ                                  |  8 ++++----
90e381
 INSTALL                              | 10 +++++-----
90e381
 README                               |  5 +++++
90e381
 defs.h                               |  2 +-
90e381
 tunables.c                           | 10 +++++-----
90e381
 vsftpd.8                             | 10 +++++-----
90e381
 vsftpd.conf                          | 20 +++++++++++++-------
90e381
 vsftpd.conf.5                        | 22 +++++++++++-----------
90e381
 12 files changed, 63 insertions(+), 52 deletions(-)
90e381
90e381
diff --git a/EXAMPLE/INTERNET_SITE/README b/EXAMPLE/INTERNET_SITE/README
90e381
index 12b10a5..fe3d7ca 100644
90e381
--- a/EXAMPLE/INTERNET_SITE/README
90e381
+++ b/EXAMPLE/INTERNET_SITE/README
90e381
@@ -41,13 +41,13 @@ no_access               = 192.168.1.3
90e381
 As an example of how to ban certain sites from connecting, 192.168.1.3 will
90e381
 be denied access.
90e381
 
90e381
-banner_fail             = /etc/vsftpd.busy_banner
90e381
+banner_fail             = /etc/vsftpd/busy_banner
90e381
 
90e381
 This is the file to display to users if the connection is refused for whatever
90e381
 reason (too many users, IP banned).
90e381
 
90e381
 Example of how to populate it:
90e381
-echo "421 Server busy, please try later." > /etc/vsftpd.busy_banner
90e381
+echo "421 Server busy, please try later." > /etc/vsftpd/busy_banner
90e381
 
90e381
 log_on_success          += PID HOST DURATION
90e381
 log_on_failure          += HOST
90e381
@@ -62,7 +62,7 @@ Step 2) Set up your vsftpd configuration file.
90e381
 
90e381
 An example file is supplied. Install it like this:
90e381
 
90e381
-cp vsftpd.conf /etc
90e381
+cp vsftpd.conf /etc/vsftpd
90e381
 
90e381
 Let's example the contents of the file:
90e381
 
90e381
diff --git a/EXAMPLE/INTERNET_SITE_NOINETD/README b/EXAMPLE/INTERNET_SITE_NOINETD/README
90e381
index ce17af2..9198c5f 100644
90e381
--- a/EXAMPLE/INTERNET_SITE_NOINETD/README
90e381
+++ b/EXAMPLE/INTERNET_SITE_NOINETD/README
90e381
@@ -17,7 +17,7 @@ even per-connect-IP configurability.
90e381
 
90e381
 To use this example config:
90e381
 
90e381
-1) Copy the vsftpd.conf file in this directory to /etc/vsftpd.conf.
90e381
+1) Copy the vsftpd.conf file in this directory to /etc/vsftpd/vsftpd.conf.
90e381
 
90e381
 2) Start up vsftpd, e.g.
90e381
 vsftpd &
90e381
@@ -51,5 +51,5 @@ in the vsftpd.conf:
90e381
 listen_address=192.168.1.2
90e381
 
90e381
 And launch vsftpd with a specific config file like this:
90e381
-vsftpd /etc/vsftpd.conf.site1 &
90e381
+vsftpd /etc/vsftpd/vsftpd.conf.site1 &
90e381
 
90e381
diff --git a/EXAMPLE/PER_IP_CONFIG/README b/EXAMPLE/PER_IP_CONFIG/README
90e381
index a9ef352..34924d5 100644
90e381
--- a/EXAMPLE/PER_IP_CONFIG/README
90e381
+++ b/EXAMPLE/PER_IP_CONFIG/README
90e381
@@ -20,12 +20,12 @@ directory: hosts.allow. It lives at /etc/hosts.allow.
90e381
 
90e381
 Let's have a look at the example:
90e381
 
90e381
-vsftpd: 192.168.1.3: setenv VSFTPD_LOAD_CONF /etc/vsftpd_tcp_wrap.conf
90e381
+vsftpd: 192.168.1.3: setenv VSFTPD_LOAD_CONF /etc/vsftpd/tcp_wrap.conf
90e381
 vsftpd: 192.168.1.4: DENY
90e381
 
90e381
 The first line:
90e381
 If a client connects from 192.168.1.3, then vsftpd will apply the vsftpd
90e381
-config file /etc/vsftpd_tcp_wrap.conf to the session! These settings are
90e381
+config file /etc/vsftpd/tcp_wrap.conf to the session! These settings are
90e381
 applied ON TOP of the default vsftpd.conf.
90e381
 This is obviously very powerful. You might use this to apply different
90e381
 access restrictions for some IPs (e.g. the ability to upload).
90e381
diff --git a/EXAMPLE/VIRTUAL_USERS/README b/EXAMPLE/VIRTUAL_USERS/README
90e381
index b48995d..72972fa 100644
90e381
--- a/EXAMPLE/VIRTUAL_USERS/README
90e381
+++ b/EXAMPLE/VIRTUAL_USERS/README
90e381
@@ -15,7 +15,7 @@ See example file "logins.txt" - this specifies "tom" with password "foo" and
90e381
 "fred" with password "bar".
90e381
 Whilst logged in as root, create the actual database file like this:
90e381
 
90e381
-db_load -T -t hash -f logins.txt /etc/vsftpd_login.db
90e381
+db_load -T -t hash -f logins.txt /etc/vsftpd/login.db
90e381
 (Requires the Berkeley db program installed).
90e381
 NOTE: Many systems have multiple versions of "db" installed, so you may
90e381
 need to use e.g. db3_load for correct operation. This is known to affect
90e381
@@ -23,10 +23,10 @@ some Debian systems. The core issue is that pam_userdb expects its login
90e381
 database to be a specific db version (often db3, whereas db4 may be installed
90e381
 on your system).
90e381
 
90e381
-This will create /etc/vsftpd_login.db. Obviously, you may want to make sure
90e381
+This will create /etc/vsftpd/login.db. Obviously, you may want to make sure
90e381
 the permissions are restricted:
90e381
 
90e381
-chmod 600 /etc/vsftpd_login.db
90e381
+chmod 600 /etc/vsftpd/login.db
90e381
 
90e381
 For more information on maintaing your login database, look around for
90e381
 documentation on "Berkeley DB", e.g.
90e381
@@ -37,8 +37,8 @@ Step 2) Create a PAM file which uses your new database.
90e381
 
90e381
 See the example file vsftpd.pam. It contains two lines:
90e381
 
90e381
-auth required /lib/security/pam_userdb.so db=/etc/vsftpd_login
90e381
-account required /lib/security/pam_userdb.so db=/etc/vsftpd_login
90e381
+auth required /lib/security/pam_userdb.so db=/etc/vsftpd/login
90e381
+account required /lib/security/pam_userdb.so db=/etc/vsftpd/login
90e381
 
90e381
 This tells PAM to authenticate users using our new database. Copy this PAM
90e381
 file to the PAM directory - typically /etc/pam.d/
90e381
@@ -108,9 +108,9 @@ pasv_max_port=30999
90e381
 These put a port range on passive FTP incoming requests - very useful if
90e381
 you are configuring a firewall.
90e381
 
90e381
-Copy the example vsftpd.conf file to /etc:
90e381
+Copy the example vsftpd.conf file to /etc/vsftpd:
90e381
 
90e381
-cp vsftpd.conf /etc/
90e381
+cp vsftpd.conf /etc/vsftpd/
90e381
 
90e381
 
90e381
 Step 5) Start up vsftpd.
90e381
diff --git a/FAQ b/FAQ
90e381
index 59fe56b..0142a0d 100644
90e381
--- a/FAQ
90e381
+++ b/FAQ
90e381
@@ -35,7 +35,7 @@ needs this user to run bits of itself with no privilege.
90e381
 Q) Help! Local users cannot log in.
90e381
 A) There are various possible problems.
90e381
 A1) By default, vsftpd disables any logins other than anonymous logins. Put
90e381
-local_enable=YES in your /etc/vsftpd.conf to allow local users to log in.
90e381
+local_enable=YES in your /etc/vsftpd/vsftpd.conf to allow local users to log in.
90e381
 A2) vsftpd tries to link with PAM. (Run "ldd vsftpd" and look for libpam to
90e381
 find out whether this has happened or not). If vsftpd links with PAM, then
90e381
 you will need to have a PAM file installed for the vsftpd service. There is
90e381
@@ -47,12 +47,12 @@ system have a "shadow.h" file in the include path?
90e381
 A4) If you are not using PAM, then vsftpd will do its own check for a valid
90e381
 user shell in /etc/shells. You may need to disable this if you use an invalid
90e381
 shell to disable logins other than FTP logins. Put check_shell=NO in your
90e381
-/etc/vsftpd.conf.
90e381
+/etc/vsftpd/vsftpd.conf.
90e381
 
90e381
 Q) Help! Uploads or other write commands give me "500 Unknown command.".
90e381
 A) By default, write commands, including uploads and new directories, are
90e381
 disabled. This is a security measure. To enable writes, put write_enable=YES
90e381
-in your /etc/vsftpd.conf.
90e381
+in your /etc/vsftpd/vsftpd.conf.
90e381
 
90e381
 Q) Help! What are the security implications referred to in the
90e381
 "chroot_local_user" option?
90e381
@@ -88,7 +88,7 @@ A2) Alternatively, run as many copies as vsftpd as necessary, in standalone
90e381
 mode. Use "listen_address=x.x.x.x" to set the virtual IP.
90e381
 
90e381
 Q) Help! Does vsftpd support virtual users?
90e381
-A) Yes, via PAM integration. Set "guest_enable=YES" in /etc/vsftpd.conf. This
90e381
+A) Yes, via PAM integration. Set "guest_enable=YES" in /etc/vsftpd/vsftpd.conf. This
90e381
 has the effect of mapping every non-anonymous successful login to the local
90e381
 username specified in "guest_username". Then, use PAM and (e.g.) its pam_userdb
90e381
 module to provide authentication against an external (i.e. non-/etc/passwd)
90e381
diff --git a/INSTALL b/INSTALL
90e381
index 4f811aa..93a8a81 100644
90e381
--- a/INSTALL
90e381
+++ b/INSTALL
90e381
@@ -56,14 +56,14 @@ cp vsftpd.8 /usr/local/man/man8
90e381
 
90e381
 "make install" doesn't copy the sample config file. It is recommended you
90e381
 do this:
90e381
-cp vsftpd.conf /etc
90e381
+cp vsftpd.conf /etc/vsftpd
90e381
 
90e381
 Step 4) Smoke test (without an inetd).
90e381
 
90e381
 vsftpd can run standalone or via an inetd (such as inetd or xinetd). You will
90e381
 typically get more control running vsftpd from an inetd. But first we will run
90e381
 it without, so we can check things are going well so far.
90e381
-Edit /etc/vsftpd.conf, and add this line at the bottom:
90e381
+Edit /etc/vsftpd/vsftpd.conf, and add this line at the bottom:
90e381
 
90e381
 listen=YES
90e381
 
90e381
@@ -135,11 +135,11 @@ cp RedHat/vsftpd.pam /etc/pam.d/ftp
90e381
 Step 7) Customize your configuration
90e381
 
90e381
 As well as the above three pre-requisites, you are recommended to install a
90e381
-config file. The default location for the config file is /etc/vsftpd.conf.
90e381
+config file. The default location for the config file is /etc/vsftpd/vsftpd.conf.
90e381
 There is a sample vsftpd.conf in the distribution tarball. You probably want
90e381
-to copy that to /etc/vsftpd.conf as a basis for modification, i.e.:
90e381
+to copy that to /etc/vsftpd/vsftpd.conf as a basis for modification, i.e.:
90e381
 
90e381
-cp vsftpd.conf /etc
90e381
+cp vsftpd.conf /etc/vsftpd
90e381
 
90e381
 The default configuration allows neither local user logins nor anonymous
90e381
 uploads. You may wish to change these defaults.
90e381
diff --git a/README b/README
90e381
index 86643c1..adc7f42 100644
90e381
--- a/README
90e381
+++ b/README
90e381
@@ -37,3 +37,8 @@ All configuration options are documented in the manual page vsftpd.conf.5.
90e381
 Various example configurations are discussed in the EXAMPLE directory.
90e381
 Frequently asked questions are tackled in the FAQ file.
90e381
 
90e381
+Important Note
90e381
+==============
90e381
+The location of configuration files was changed to /etc/vsftpd/. If you want
90e381
+to migrate your old conf files from /etc (files vsftpd.xxxx.rpmsave) use
90e381
+/etc/vsfptd/vsftpd_conf_migrate.sh
90e381
diff --git a/defs.h b/defs.h
90e381
index 0ff5864..ca11eac 100644
90e381
--- a/defs.h
90e381
+++ b/defs.h
90e381
@@ -1,7 +1,7 @@
90e381
 #ifndef VSF_DEFS_H
90e381
 #define VSF_DEFS_H
90e381
 
90e381
-#define VSFTP_DEFAULT_CONFIG    "/etc/vsftpd.conf"
90e381
+#define VSFTP_DEFAULT_CONFIG    "/etc/vsftpd/vsftpd.conf"
90e381
 
90e381
 #define VSFTP_COMMAND_FD        0
90e381
 
90e381
diff --git a/tunables.c b/tunables.c
90e381
index 284a10d..0ac4c34 100644
90e381
--- a/tunables.c
90e381
+++ b/tunables.c
90e381
@@ -190,7 +190,7 @@ tunables_load_defaults()
90e381
   tunable_listen_ipv6 = 0;
90e381
   tunable_dual_log_enable = 0;
90e381
   tunable_syslog_enable = 0;
90e381
-  tunable_background = 0;
90e381
+  tunable_background = 1;
90e381
   tunable_virtual_use_local_privs = 0;
90e381
   tunable_session_support = 0;
90e381
   tunable_download_enable = 1;
90e381
@@ -262,11 +262,11 @@ tunables_load_defaults()
90e381
   install_str_setting(".message", &tunable_message_file);
90e381
   install_str_setting("nobody", &tunable_nopriv_user);
90e381
   install_str_setting(0, &tunable_ftpd_banner);
90e381
-  install_str_setting("/etc/vsftpd.banned_emails", &tunable_banned_email_file);
90e381
-  install_str_setting("/etc/vsftpd.chroot_list", &tunable_chroot_list_file);
90e381
+  install_str_setting("/etc/vsftpd/banned_emails", &tunable_banned_email_file);
90e381
+  install_str_setting("/etc/vsftpd/chroot_list", &tunable_chroot_list_file);
90e381
   install_str_setting("ftp", &tunable_pam_service_name);
90e381
   install_str_setting("ftp", &tunable_guest_username);
90e381
-  install_str_setting("/etc/vsftpd.user_list", &tunable_userlist_file);
90e381
+  install_str_setting("/etc/vsftpd/user_list", &tunable_userlist_file);
90e381
   install_str_setting(0, &tunable_anon_root);
90e381
   install_str_setting(0, &tunable_local_root);
90e381
   install_str_setting(0, &tunable_banner_file);
90e381
@@ -279,7 +279,7 @@ tunables_load_defaults()
90e381
   install_str_setting(0, &tunable_hide_file);
90e381
   install_str_setting(0, &tunable_deny_file);
90e381
   install_str_setting(0, &tunable_user_sub_token);
90e381
-  install_str_setting("/etc/vsftpd.email_passwords",
90e381
+  install_str_setting("/etc/vsftpd/email_passwords",
90e381
                       &tunable_email_password_file);
90e381
   install_str_setting("/usr/share/ssl/certs/vsftpd.pem",
90e381
                       &tunable_rsa_cert_file);
90e381
diff --git a/vsftpd.8 b/vsftpd.8
90e381
index 6640b57..c920e7d 100644
90e381
--- a/vsftpd.8
90e381
+++ b/vsftpd.8
90e381
@@ -21,7 +21,7 @@ itself will listen on the network. This latter mode is easier to use, and
90e381
 recommended. It is activated by setting
90e381
 .Pa listen=YES
90e381
 in
90e381
-.Pa /etc/vsftpd.conf .
90e381
+.Pa /etc/vsftpd/vsftpd.conf .
90e381
 Direct execution of the
90e381
 .Nm vsftpd
90e381
 binary will then launch the FTP service ready for immediate client connections.
90e381
@@ -33,7 +33,7 @@ as root. Any command line option not starting with a "-" character is treated
90e381
 as a config file that will be loaded. Note that config files are loaded in the
90e381
 strict order that they are encountered on the command line.
90e381
 If no config files are specified, the default configuration file of
90e381
-.Pa /etc/vsftpd.conf
90e381
+.Pa /etc/vsftpd/vsftpd.conf
90e381
 will be loaded, after all other command line options are processed.
90e381
 .Pp
90e381
 Supported options are:
90e381
@@ -47,14 +47,14 @@ their appearance on the command line, including intermingling with loading of
90e381
 config files.
90e381
 .El
90e381
 .Sh EXAMPLES
90e381
-vsftpd -olisten=NO /etc/vsftpd.conf -oftpd_banner=blah
90e381
+vsftpd -olisten=NO /etc/vsftpd/vsftpd.conf -oftpd_banner=blah
90e381
 .Pp
90e381
 That example overrides vsftpd's built-in default for the "listen" option to be
90e381
-NO, but then loads /etc/vsftpd.conf which may override that setting. Finally,
90e381
+NO, but then loads /etc/vsftpd/vsftpd.conf which may override that setting. Finally,
90e381
 the "ftpd_banner" setting is set to "blah", which overrides any default vsftpd
90e381
 setting and any identical setting that was in the config file.
90e381
 .Sh FILES
90e381
-.Pa /etc/vsftpd.conf
90e381
+.Pa /etc/vsftpd/vsftpd.conf
90e381
 .Sh SEE ALSO
90e381
 .Xr vsftpd.conf 5
90e381
 .end
90e381
diff --git a/vsftpd.conf b/vsftpd.conf
90e381
index cc1c607..db44170 100644
90e381
--- a/vsftpd.conf
90e381
+++ b/vsftpd.conf
90e381
@@ -1,4 +1,4 @@
90e381
-# Example config file /etc/vsftpd.conf
90e381
+# Example config file /etc/vsftpd/vsftpd.conf
90e381
 #
90e381
 # The default compiled in settings are fairly paranoid. This sample file
90e381
 # loosens things up a bit, to make the ftp daemon more usable.
90e381
@@ -12,18 +12,20 @@
90e381
 anonymous_enable=YES
90e381
 #
90e381
 # Uncomment this to allow local users to log in.
90e381
-#local_enable=YES
90e381
+# When SELinux is enforcing check for SE bool ftp_home_dir
90e381
+local_enable=YES
90e381
 #
90e381
 # Uncomment this to enable any form of FTP write command.
90e381
-#write_enable=YES
90e381
+write_enable=YES
90e381
 #
90e381
 # Default umask for local users is 077. You may wish to change this to 022,
90e381
 # if your users expect that (022 is used by most other ftpd's)
90e381
-#local_umask=022
90e381
+local_umask=022
90e381
 #
90e381
 # Uncomment this to allow the anonymous FTP user to upload files. This only
90e381
 # has an effect if the above global write enable is activated. Also, you will
90e381
 # obviously need to create a directory writable by the FTP user.
90e381
+# When SELinux is enforcing check for SE bool allow_ftpd_anon_write, allow_ftpd_full_access
90e381
 #anon_upload_enable=YES
90e381
 #
90e381
 # Uncomment this if you want the anonymous FTP user to be able to create
90e381
@@ -52,7 +54,7 @@ connect_from_port_20=YES
90e381
 #
90e381
 # If you want, you can have your log file in standard ftpd xferlog format.
90e381
 # Note that the default log file location is /var/log/xferlog in this case.
90e381
-#xferlog_std_format=YES
90e381
+xferlog_std_format=YES
90e381
 #
90e381
 # You may change the default value for timing out an idle session.
90e381
 #idle_session_timeout=600
90e381
@@ -87,7 +89,7 @@ connect_from_port_20=YES
90e381
 # useful for combatting certain DoS attacks.
90e381
 #deny_email_enable=YES
90e381
 # (default follows)
90e381
-#banned_email_file=/etc/vsftpd.banned_emails
90e381
+#banned_email_file=/etc/vsftpd/banned_emails
90e381
 #
90e381
 # You may specify an explicit list of local users to chroot() to their home
90e381
 # directory. If chroot_local_user is YES, then this list becomes a list of
90e381
@@ -98,7 +100,7 @@ connect_from_port_20=YES
90e381
 #chroot_local_user=YES
90e381
 #chroot_list_enable=YES
90e381
 # (default follows)
90e381
-#chroot_list_file=/etc/vsftpd.chroot_list
90e381
+#chroot_list_file=/etc/vsftpd/chroot_list
90e381
 #
90e381
 # You may activate the "-R" option to the builtin ls. This is disabled by
90e381
 # default to avoid remote users being able to cause excessive I/O on large
90e381
@@ -115,3 +117,7 @@ listen=YES
90e381
 # sockets, you must run two copies of vsftpd with two configuration files.
90e381
 # Make sure, that one of the listen options is commented !!
90e381
 #listen_ipv6=YES
90e381
+
90e381
+pam_service_name=vsftpd
90e381
+userlist_enable=YES
90e381
+tcp_wrappers=YES
90e381
diff --git a/vsftpd.conf.5 b/vsftpd.conf.5
90e381
index fcc6022..5e46a2f 100644
90e381
--- a/vsftpd.conf.5
90e381
+++ b/vsftpd.conf.5
90e381
@@ -4,7 +4,7 @@ vsftpd.conf \- config file for vsftpd
90e381
 .SH DESCRIPTION
90e381
 vsftpd.conf may be used to control various aspects of vsftpd's behaviour. By
90e381
 default, vsftpd looks for this file at the location
90e381
-.BR /etc/vsftpd.conf .
90e381
+.BR /etc/vsftpd/vsftpd.conf .
90e381
 However, you may override this by specifying a command line argument to
90e381
 vsftpd. The command line argument is the pathname of the configuration file
90e381
 for vsftpd. This behaviour is useful because you may wish to use an advanced
90e381
@@ -110,7 +110,7 @@ When enabled, and vsftpd is started in "listen" mode, vsftpd will background
90e381
 the listener process. i.e. control will immediately be returned to the shell
90e381
 which launched vsftpd.
90e381
 
90e381
-Default: NO
90e381
+Default: YES
90e381
 .TP
90e381
 .B check_shell
90e381
 Note! This option only has an effect for non-PAM builds of vsftpd. If disabled,
90e381
@@ -138,7 +138,7 @@ chroot() jail in their home directory upon login. The meaning is slightly
90e381
 different if chroot_local_user is set to YES. In this case, the list becomes
90e381
 a list of users which are NOT to be placed in a chroot() jail.
90e381
 By default, the file containing this list is
90e381
-/etc/vsftpd.chroot_list, but you may override this with the
90e381
+/etc/vsftpd/chroot_list, but you may override this with the
90e381
 .BR chroot_list_file
90e381
 setting.
90e381
 
90e381
@@ -177,7 +177,7 @@ Default: NO
90e381
 .B deny_email_enable
90e381
 If activated, you may provide a list of anonymous password e-mail responses
90e381
 which cause login to be denied. By default, the file containing this list is
90e381
-/etc/vsftpd.banned_emails, but you may override this with the
90e381
+/etc/vsftpd/banned_emails, but you may override this with the
90e381
 .BR banned_email_file
90e381
 setting.
90e381
 
90e381
@@ -433,7 +433,7 @@ anonymous logins are prevented unless the password provided is listed in the
90e381
 file specified by the
90e381
 .BR email_password_file
90e381
 setting. The file format is one password per line, no extra whitespace. The
90e381
-default filename is /etc/vsftpd.email_passwords.
90e381
+default filename is /etc/vsftpd/email_passwords.
90e381
 
90e381
 Default: NO
90e381
 .TP
90e381
@@ -764,7 +764,7 @@ passwords which are not permitted. This file is consulted if the option
90e381
 .BR deny_email_enable
90e381
 is enabled.
90e381
 
90e381
-Default: /etc/vsftpd.banned_emails
90e381
+Default: /etc/vsftpd/banned_emails
90e381
 .TP
90e381
 .B banner_file
90e381
 This option is the name of a file containing text to display when someone
90e381
@@ -803,7 +803,7 @@ is enabled. If the option
90e381
 is enabled, then the list file becomes a list of users to NOT place in a
90e381
 chroot() jail.
90e381
 
90e381
-Default: /etc/vsftpd.chroot_list
90e381
+Default: /etvsftpd.confc/vsftpd.chroot_list
90e381
 .TP
90e381
 .B cmds_allowed
90e381
 This options specifies a comma separated list of allowed FTP commands (post
90e381
@@ -864,7 +864,7 @@ This option can be used to provide an alternate file for usage by the
90e381
 .BR secure_email_list_enable
90e381
 setting.
90e381
 
90e381
-Default: /etc/vsftpd.email_passwords
90e381
+Default: /etc/vsftpd/email_passwords
90e381
 .TP
90e381
 .B ftp_username
90e381
 This is the name of the user we use for handling anonymous FTP. The home
90e381
@@ -987,10 +987,10 @@ the manual page, on a per-user basis. Usage is simple, and is best illustrated
90e381
 with an example. If you set
90e381
 .BR user_config_dir
90e381
 to be
90e381
-.BR /etc/vsftpd_user_conf
90e381
+.BR /etc/vsftpd/user_conf
90e381
 and then log on as the user "chris", then vsftpd will apply the settings in
90e381
 the file
90e381
-.BR /etc/vsftpd_user_conf/chris
90e381
+.BR /etc/vsftpd/user_conf/chris
90e381
 for the duration of the session. The format of this file is as detailed in
90e381
 this manual page! PLEASE NOTE that not all settings are effective on a
90e381
 per-user basis. For example, many settings only prior to the user's session
90e381
@@ -1026,7 +1026,7 @@ This option is the name of the file loaded when the
90e381
 .BR userlist_enable
90e381
 option is active.
90e381
 
90e381
-Default: /etc/vsftpd.user_list
90e381
+Default: /etc/vsftpd/user_list
90e381
 .TP
90e381
 .B vsftpd_log_file
90e381
 This option is the name of the file to which we write the vsftpd style
90e381
-- 
90e381
2.14.4
90e381