| 會員 ![]() | 【求助】linux的vsftp 無法把使用者鎖定在家目錄 vsftp 無法把使用者鎖定在家目錄 使用環境redhart 9.0 我有看過鳥哥的教學 http://linux.vbird.org/linux_server/0410vsftpd.php [root@test root]# vi /etc/vsftpd/vsftpd.conf local_enable=YES write_enable=YES local_umask=022 chroot_list_enable=YES chroot_list_file=/etc/vsftpd.chroot_list [root@test root]# vi /etc/vsftpd.chroot_list user1 user2 [root@test root]# /etc/rc.d/init.d/xinetd restart 理論上做完以上3個步驟後應該可以讓user1和user2 用FTP進入時只能在/home/user1 或 /home/user2 瀏覽而已 可是卻失敗了 ![]() user1和user2 竟然可以瀏覽跟目錄底下的檔案 請問哪為兄臺可以幫我解決 |
| 回覆 |
| 會員 ![]() | RH9 預設 vsftpd 是獨立的 deamon 並不使用 inetd(xinetd) 啟動 所以重新啟動 vsftpd 用 vsftpd restart |
| 回覆 |
| |
| XML | RSS 2.0 | RSS |
本論壇所有文章僅代表留言者個人意見,並不代表本站之立場,討論區以「即時留言」方式運作,故無法完全監察所有即時留言,若您發現文章可能有異議,請 email :[email protected] 處理。