免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 6681 | 回复: 2
打印 上一主题 下一主题

[FTP] suse pure-ftpd 启动问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-04-17 00:13 |只看该作者 |倒序浏览
大家好:
有suse上的pure-ftpd问题,还请大家帮一下忙。

1.这个是系统自己默认启动的,单独pure-ftpd没有启动,xinetd下的puer-ftpd是启动的。

linux:~ # chkconfig -l pure-ftpd
pure-ftpd                 0ff  1ff  2ff  3ff  4ff  5ff  6ff
xinetd based services:
        pure-ftpd:          on
2.现在用chkconfig pure-ftpd 关闭
linux:~ # chkconfig pure-ftpd off
linux:~ # chkconfig -l pure-ftpd
pure-ftpd                 0ff  1ff  2ff  3:off  4:off  5:off  6:off
xinetd based services:
        pure-ftpd:          off
3.再重新启动这时系统会默认启动单独pure-ftpd,而不会启动xinetd下的pure-ftpd
linux:~ # chkconfig -l pure-ftpd
pure-ftpd                 0:off  1:off  2:off  3:on   4:off  5:on   6:off
xinetd based services:
        pure-ftpd:          off

现在的问题是,怎样才能启动xinetd下的pure-ftpd,而不启动pure-ftpd的单独进程,使成为和1一样的状态。





还有一个问题是,我什么在pure-ftpd下禁锢用户在自己的宿主目录不成功呢?登陆用户还是可以访问其他用户的目录,pure-ftpd配置文件也"YES"了呀。
############################################################
#                                                          #
#         Configuration file for pure-ftpd wrappers        #
#                                                          #
############################################################

# If you want to run Pure-FTPd with this configuration
# instead of command-line options, please run the
# following command :
#
# /usr/sbin/pure-config.pl /usr/etc/pure-ftpd.conf
#
# Please don't forget to have a look at documentation at
# http://www.pureftpd.org/documentation.html for a complete list of
# options.

# Cage in every user in his home directory

ChrootEveryone              yes

还请高手们帮帮忙

论坛徽章:
0
2 [报告]
发表于 2009-04-17 10:09 |只看该作者

仅供参考

怎样才能启动xinetd下的pure-ftpd,而不启动pure-ftpd的单独进程,使成为和1一样的状态。


Daemonize                   yes


这个要设为No,然后配置xinetd下面的pure-ftpd文件,然后重启xinetd吧

论坛徽章:
0
3 [报告]
发表于 2009-04-20 17:32 |只看该作者
非常谢谢楼上的大哥,问题解决了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP