歡迎您光臨本站 註冊首頁

請教redhat linux6中的vsftpd不能訪問的問題

←手機掃碼閱讀     火星人 @ 2014-03-24 , reply:0

今天在redhat linux6下面設置vsftpd用匿名賬號anonymous和ftp這2個賬號都能登陸。但是用本地賬號就會提示下面的問題!
Connected to 192.168.0.102 (192.168.0.102)
< 220 (vsFTPd 2.2.2)
>Name (192.168.0.102:root):XXX
< 331 Please specify the password.
> PASS
< 500 OOPS: cannot change directory:/home/XXXX
< Login failed

在網上搜了一下,好像跟SELinux有關(我不知道是什麼 ),說用下面的命令可以搞定
# setsebool ftpd_disable_trans 1
# service vsftpd restart
但我在 linux6下運行 # setsebool ftpd_disable_trans 1 時提示錯誤如下:
libsemanage.dbase_llist_set:record not found in the database
libsemanage.dbase_llist_set:could not set rocord value
could not change boolean frpd_disable_trans
could not change policy booleans
不知各位高人有沒有碰到,請教一下該如何設置才能讓FTP正常使用?

[火星人 ] 請教redhat linux6中的vsftpd不能訪問的問題已經有590次圍觀

http://coctec.com/docs/linux/show-post-142639.html