local_enable
directive must be set to YES
.
chmod_enable
— When enabled, the FTP command SITE CHMOD
is allowed for local users. This command allows the users to change the permissions on files.
YES
.
chroot_list_enable
— When enabled, the local users listed in the file specified in the chroot_list_file
directive are placed in a chroot
jail upon log in.
chroot_local_user
directive, the local users listed in the file specified in the chroot_list_file
directive are not placed in a chroot
jail upon log in.
NO
.
chroot_list_file
— Specifies the file containing a list of local users referenced when the chroot_list_enable
directive is set to YES
.
/etc/vsftpd.chroot_list
.
chroot_local_user
— When enabled, local users are change-rooted to their home directories after logging in.
NO
.
chroot_local_user
opens up a number of security issues, especially for users with upload privileges. For this reason, it is not recommended.
guest_enable
— When enabled, all non-anonymous users are logged in as the user guest
, which is the local user specified in the guest_username
directive.
NO
.
guest_username
— Specifies the username the guest
user is mapped to.
ftp
.
local_root
— Specifies the directory vsftpd
changes to after a local user logs in.
local_umask
— Specifies the umask value for file creation. Note that the default value is in octal form (a numerical system with a base of eight), which includes a "0" prefix. Otherwise the value is treated as a base-10 integer.
022
.
passwd_chroot_enable
— When enabled in conjunction with the chroot_local_user
directive, vsftpd
change-roots local users based on the occurrence of the /./
in the home directory field within /etc/passwd
.
NO
.
user_config_dir
— Specifies the path to a directory containing configuration files bearing the name of local system users that contain specific setting for that user. Any directive in the user's configuration file overrides those found in /etc/vsftpd/vsftpd.conf
.