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

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