【FileZilla錯誤】500 OOPS: could not read chroot() list file:/etc/vsftpd/chroot_list

環境:ECS裏 Centos 7.2 ,安裝了vsftpd,

           Windows安裝了FileZilla

 

問題:

當鏈接時報錯:500 OOPS: could not read chroot() list file:/etc/vsftpd/chroot_list

 

兩種解決辦法:

一是建立chroot_list文件,配置用戶名,權限,比較麻煩,暫不細述,可以去度娘

 

二是非常簡單的,懶人的做法,不安全,測試用是沒問題

vim /etc/vsftpd/vsftpd.conf   #編輯vsftpd配置文件

找到以下三行,註釋掉就行可以了

chroot_local_user=YES
chroot_list_enable=YES
# (default follows)
chroot_list_file=/etc/vsftpd/chroot_list

改爲

#chroot_local_user=YES
#chroot_list_enable=YES
# (default follows)
#chroot_list_file=/etc/vsftpd/chroot_list


重啓FTP

systemctl restart vsftpd

用戶名可以正常進入,解決問題
 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章