# Yes代表允許anonymous(匿名者)登入我們的vsftpd主機, 預設為Yes
# Allow anonymous FTP? (Beware - allowed by default if you comment this out).
anonymous_enable=NO


# YES代表在 /etc/passwd 內的帳號能夠以實體用戶的方式登入我們的 vsftpd 主機
# Uncomment this to allow local users to log in.
local_enable=YES
 

# YES代表允許使用者上傳資料
# Uncomment this to enable any form of FTP write command.
write_enable=YES
 

# 使用者上傳的資料屬性將會是755
# Default umask for local users is 077. You may wish to change this to 022,
# if your users expect that (022 is used by most other ftpd's)
local_umask=022
 

# Yes代表允許anonymous上傳資料, 預設為NO

# Uncomment this to allow the anonymous FTP user to upload files. This only
# has an effect if the above global write enable is activated. Also, you will
# obviously need to create a directory writable by the FTP user.
#anon_upload_enable=YES
 

# Yes代表允許anonymous具有建立目錄的權限, 預設為NO

# Uncomment this if you want the anonymous FTP user to be able to create
# new directories.
#anon_mkdir_write_enable=YES
 

# 使用者進入某個目錄時,會顯示預設的訊息
# Activate directory messages - messages given to remote users when they
# go into a certain directory.
dirmessage_enable=YES
 

# YES代表使用者在上傳和下載檔案的過程,會被錄起來
# Activate logging of uploads/downloads.
xferlog_enable=YES

# 記錄上傳和下載的記錄檔位置,不設定還是會有預設值,預設值如下
# You may override where the log file goes if you like. The default is shown
# below.
#xferlog_file=/var/log/vsftpd.log
 

# 把記錄檔由.log改為xferlog的格式,預設為NO(建議),xferlog檔要有分析軟體才能讀取
# If you want, you can have your log file in standard ftpd xferlog format.
# Note that the default log file location is /var/log/xferlog in this case.
#xferlog_std_format=YES
 

# 使用者600秒內沒有動作,將會強制離線
# You may change the default value for timing out an idle session.
#idle_session_timeout=600
 

# 使用者120秒內無法順利的完成資料的傳送,將會強制離線
# You may change the default value for timing out a data connection.
#data_connection_timeout=120
 

# 將使用者限制在該使用者的home目錄下
# You may specify an explicit list of local users to chroot() to their home
# directory. If chroot_local_user is YES, then this list becomes a list of
# users to NOT chroot().
#chroot_list_enable=YES
# (default follows)
#chroot_list_file=/etc/vsftpd/chroot_list
 

# YES代表新增的使用者預設可使用FTP這個服務,

# 而寫入/etc/vsftpd.user_list檔案內的帳號不可使用FTP

#

# NO代表新增的使用者預設不可使用FTP這個服務,

# 而只有寫入/etc/vsftpd.user_list檔案內的帳號可以使用FTP

userlist_enable=YES