 
- 威望
- 1326
- 金錢
- 6391
- 貢獻
- 293
- 熱誠
- 315
- 分享
- 160
- 角色
- 不分/均可 (versatile/both)
- 最後登錄
- 2014-3-12
      
|
1#
發表於 2010-8-20 00:01
| 只看該作者
這個vsftp的功用只允許真實用戶登入(無法離開自己的家目錄)不開放匿名登入。有意架設vsftp的人可作為參考。至於參數的作用就請自行查閱相關文件。另外,chroot_local_user=YES
chroot_list_enable=YES代表在chroot-list中的使用者是可離開自己的家目錄的,請特別注意。在此也建議將使用者ftp加入到ftpusers及user_list兩個檔案中,限制其登入。
操作界面簡單易懂的client程式─GiveMeFiles
http://pos.ec/download.aspx
設定檔如下:
anonymous_enable=NO
ascii_download_enable=NO
ascii_upload_enable=NO
async_abor_enable=NO
check_shell=YES
chown_uploads=NO
chroot_local_user=YES
chroot_list_enable=YES
connect_from_port_20=YES
deny_email_enable=NO
guest_enable=NO
listen=YES
listen_ipv6=YES
local_enable=YES
ls_recurse_enable=NO
one_process_model=NO
pasv_enable=YES
tcp_wrappers=YES
use_localtime=YES
userlist_deny=YES
userlist_enable=YES
write_enable=YES
xferlog_enable=YES
xferlog_std_format=YES
accept_timeout=60
connect_timeout=60
data_connection_timeout=180
idle_session_timeout=300
listen_port=21
local_max_rate=0
local_umask=022
max_clients=100
max_per_ip=5
chroot_list_file=/etc/vsftpd/chroot-list
nopriv_user=ftp
pam_service_name=vsftpd
userlist_file=/etc/vsftpd/user_list
xferlog_file=/var/log/xferlog |
大家好我叫祐祐唷^^~
希望能與各位大大多多認識交流^^~ |
|