答复: debian里面proftpd得一个问题
Dear wd,
将/bin/false或/sbin/nologin加入到/etc/shells文件中。
例如,etc/shells内容如下:
/bin/false
/sbin/nologin
/bin/bash
...
我没有在Debian中试过,但在Redhat中是可以的。
Henry Liu(liuhongliang@inventectj.com
-----邮件原件-----
发件人: wd [mailto:wd@caphbook.com]
发送时间: 2005年3月23日 14:54
收件人: debian-chinese-gb@lists.debian.org
主题: debian里面proftpd得一个问题
Dear ,
debian里面新建用户没有/sbin/nologin这个shell,设置了/bin/false之后,
作为proftpd用户登陆不行,看log提示没有正确得shell所致。
我想问一下如何能让一个用户只能使用ftp,而不能通过ssh之类登陆系统?
-----
wd <wd#caphbook.com>
2005-3-23 14:51:18
--
To UNSUBSCRIBE, email to debian-chinese-gb-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: