chroot設定在filezilla中失效? - Linux

Table of Contents

最近練習用虛擬機(centOS)架設一個FTP站

依鳥哥網站內設定為使用者預設為chroot

chroot_local_user=YES
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd/chroot_list

在linux內使用ftp locahost測試時設定好的帳號的確都被限制在家目錄中

但使用filezilla進行SSH連線時

發現不管是有無chroot的帳號皆可四處亂跑

(網路環境為雙網卡.NAT負責對外連線.
port forwording僅設置host轉至虛擬機22PORT來強制只能使用SSH連線
一張host-only跑SAMBA)

想請問一下有關chroot的設定還有甚麼地方需要考慮的嗎

還是單純filezilla程式問題

謝謝

--
◥◥◥◥◤◤◤◤
哼,不痛不癢的,怎麼可能.. ◥▇▆▅▄▂◤
●∕ . ▄▄▄▄▄▄▄ ▆▅▄▃▂ ◤""
╱) _ζ′ 啊啊啊啊啊啊!!! 你已經射了。 ▋◥◣▁◢◤╱ ▏
∕╲ ▁▃▂▁ ▄▄▄▄▄▄▄ ▉ ▁◢/
▇▆▅▆ gayb

--

All Comments

Caroline avatarCaroline2014-04-15
用ssh連線時是使用sftp吧,那時就不受ftpd管制
就像直接用ssh連進去也可以為往上層跑啊