Article Title: vsftpd configuration Manual (1 ). Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
1. Detailed configuration parameters of vsftpd
# Accepting Anonymous Users
Anonymous_enable = YES
# Do not ask for a password when an anonymous user logs in
No_anon_password = YES
# Anonymous user home directory
Anon_root = (none)
# Accept local users
Local_enable = YES
# Local user home directory
Local_root = (none)
# If an anonymous user requires a password, the user using the email address in banned_email_file cannot log on.
Deny_email_enable = YES
# It is only useful when no pam verification version is available. Check whether the user has a valid shell to log on
Check_shell = YES
# If this option is enabled, the userlist_deny option is started.
Userlist_enable = YES
# If YES, users in userlist_file cannot log on. If NO, only users in userlist_file can log on.
Userlist_deny = NO
# If it is enabled with chroot_local_user, the user-locked directory comes from the directory specified by each user in/etc/passwd (this is not very clear. Which one is familiar with this)
Passwd_chroot_enable = NO
# Define the username for anonymous login. The default value is ftp.
Ftp_username = FTP
################# User permission control ###############
# Upload allowed (global control ).
Write_enable = YES
# Umask for local user to upload files
Local_umask = 022
# Use umask to upload files
# File_open_mode = 0666
# Uploading by anonymous users
Anon_upload_enable = NO
# Directories can be created by anonymous users
Anon_mkdir_write_enable = NO
Other write permissions of anonymous users (Change permissions ?)
Anon_other_write_enable = NO
If set to YES, anonymous logon users are allowed to download readable files. The default value is YES.
Anon_world_readable_only = YES
# If enabled, all non-Anonymous login usernames will be switched to the user name specified by guest_username
# Guest_enable = NO
The owner of all files uploaded anonymously will be changed to chown_username.
Chown_uploads = YES
Username of the file to be uploaded anonymously
Chown_username = lightwiter
# If this function is enabled, users listed in chroot_list_file cannot change the root directory.
[1] [2] [3] [4] Next page