关于FTP用户的shell问题

由 allisfree 在 04-12-2004 08:42 发表:

关于FTP用户的shell问题

我把/bin/false加到/etc/shells中,再把RequiedValidShell off注释掉,还是不能登陆,不是好象只要/etc/shells中有记录,就可以登陆吗?当然,我已重起过服务器了。

最重要的是一个FTP用户有有效shell和无效shell有什么区别(其它配置一样),能执行shell命令(如vi什么的)?还是仅仅安全问题,无效shell相对安全(那要有效shell干什么)?

shell到底有什么用?毕竟这是FTP,不是Telent


由 Glue 在 04-12-2004 10:45 发表:


/bin/false is not a valid shell, even after you add it to /etc/shells


-_-


由 allisfree 在 04-12-2004 13:28 发表:


/sbin/nologin可以吗

不过我的机子上好象没这个

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus