我的本地用戶(local user為test,home directory為/home/test) root@ubuntu:~# ftp localhost Connected to localhost. 220 (vsFTPd 2.3.2) Name (localhost:test): test 331 Please specify the password. Password: 230 Login successful. Remote system type is UNIX. Using binary mode to transfer files. ftp> ftp> pwd '''257 "/"''' 看上面,正常情况下,輸入pwd時,應該是顯示/home/test. 由於我做了chroot.所以,/home/test變成 /
------------------------------------------------------
開啟chroot_list_enable=YES,在RHEL6,建立/etc/vsftpd/chroot_list,
可以允許chroot_list裡的帳號清單進行ftp目錄的切換。
沒有留言:
張貼留言