Chinaunix

标题: suse pure-ftpd 启动问题 [打印本页]

作者: coco_andy    时间: 2009-04-17 00:13
标题: suse pure-ftpd 启动问题
大家好:
有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

还请高手们帮帮忙
作者: diyself    时间: 2009-04-17 10:09
标题: 仅供参考
怎样才能启动xinetd下的pure-ftpd,而不启动pure-ftpd的单独进程,使成为和1一样的状态。


Daemonize                   yes


这个要设为No,然后配置xinetd下面的pure-ftpd文件,然后重启xinetd吧
作者: coco_andy    时间: 2009-04-20 17:32
非常谢谢楼上的大哥,问题解决了。




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2