|
应该是CHROOT的问题:
ph7:/home# chroot ~ftp /bin/ls -l
total 20
d--x--x--x 2 0 0 4096 Aug 29 08:48 bin
d--x--x--x 2 0 0 4096 Sep 18 01:54 etc
d--x--x--x 2 0 0 4096 Sep 18 03:34 lib
dr-xr-xr-x 3 0 0 4096 Sep 17 03:20 pub
-rw-r--r-- 1 0 0 123 Sep 17 03:48 welcome.msg
不知道缺少什么?
kanaka 的大作中有这么一句:
Anonymous FTP users will only see UID and GID numbers,instead of names, because the libnss_files.so library hasn't installed.
It is not installed by default, since there is no easy way to find out what version we need to install.
If you want to install it manually, it should be palced in /home/ftp/lib,owned by root, and with permissions of 444 (r--r--r--)
我试着在/lib下拷了一个libnss_files.so到~ftp/lib下,可是还是不行。搞不懂了,今天在网上找了一个上午也没有找到解答。
郁闷ing。。 |
|