裝了vsftp無法上傳 - Linux
By Freda
at 2010-02-26T17:28
at 2010-02-26T17:28
Table of Contents
※ 引述《bruce620 (o(‧"‧)o)》之銘言:
: 問題一是我限制帳號只能在自己的家目錄下
: 但是ftp登入後還是能到別人的目錄裡
: 我在/etc/vsftpd.chroot_list有建一個檔 裡面有打了他的帳號
: vsftp也有restart但還是能進到別人的目錄裡頭
# 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_local_user=yes 等於是只有在list內的才不會被限制
: 問題二是 ftp原本能登入 但是檔案都無法上傳上去
: 我的資料夾的權限都是755
: 然後我重開機後 就登不進去了
: 我也有執行 sudo /etc/init.d/vsftpd start
: 但重開後就進不去@@
沒有設定開機時啟動vsftpd吧? chkconfig vsftpd on
檔案無法上傳,錯誤訊息貼一下。有開selinux的話 man ftpd_selinux
--
Nice to meld you.
--
: 問題一是我限制帳號只能在自己的家目錄下
: 但是ftp登入後還是能到別人的目錄裡
: 我在/etc/vsftpd.chroot_list有建一個檔 裡面有打了他的帳號
: vsftp也有restart但還是能進到別人的目錄裡頭
# 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_local_user=yes 等於是只有在list內的才不會被限制
: 問題二是 ftp原本能登入 但是檔案都無法上傳上去
: 我的資料夾的權限都是755
: 然後我重開機後 就登不進去了
: 我也有執行 sudo /etc/init.d/vsftpd start
: 但重開後就進不去@@
沒有設定開機時啟動vsftpd吧? chkconfig vsftpd on
檔案無法上傳,錯誤訊息貼一下。有開selinux的話 man ftpd_selinux
--
Nice to meld you.
--
Tags:
Linux
All Comments
By Gary
at 2010-02-27T08:22
at 2010-02-27T08:22
By Ursula
at 2010-02-27T22:02
at 2010-02-27T22:02
By Emma
at 2010-03-03T17:22
at 2010-03-03T17:22
Related Posts
裝了vsftp無法上傳
By Edith
at 2010-02-26T16:22
at 2010-02-26T16:22
關於編譯失敗的問題
By Agnes
at 2010-02-26T15:52
at 2010-02-26T15:52
ubuntu 9.04 外觀設定
By Emma
at 2010-02-26T15:00
at 2010-02-26T15:00
MySQL 有關資料庫路徑的設定放在何處
By Steve
at 2010-02-26T11:25
at 2010-02-26T11:25
剛使用Fedora 12 新手的問題
By Thomas
at 2010-02-26T02:41
at 2010-02-26T02:41