分页: 1 / 1

vsftp服务器配好,客户端不能ls

发表于 : 2008-11-10 14:54
yunpengwu
系统是kubuntu8.10

严格按照以下链接进行配置的
http://wiki.ubuntu.org.cn/index.php?tit ... iant=zh-cn

登录后不能列表服务器文件,如下:

代码: 全选

$lftp ftp://db1:db100@192.168.1.1
lftp db1@192.168.1.1:~>ls
`ls' at 0 [Delaying before reconnect: 12]
之前配置ftp服务器,不用虚拟用户,也遇到类似问题,用如下方法解决的:
$sudo ln -s /bin/false /sbin/nologin
$sudo echo /sbin/nologin >>/etc/shells
$sudo usermod -s /sbin/nologin ftpuser

如果shell设置为/bin/bash,ftp用户是可以登录的。

有没有高手解释以下?