VPS侦探论坛

 找回密码
 注册
查看: 5177|回复: 0

遇到个很郁闷的问题(关于pureftpd)

[复制链接]
发表于 2011-8-10 18:35:00 | 显示全部楼层 |阅读模式

在”域名/ftp/“WEB页面中设置的几个帐号      
用filezilla链接时,都显示严重错误530.我表示很纳闷?结果我尝试用“root”帐号登录,唉,一帆风顺,但默认目录却并不是我在”域名/ftp/“WEB页面设置的。
pureftpd-mysql.conf 如下


root@peer1:~# cat  /root/pure-ftpd-1.0.30/pureftpd-mysql.conf
############################################################################
#                                                                          #
# PureFTPd MySQL configuration file.                                       #
# Generated by the installation wizard for the 'User manager for PureFTPd' #
# See http://machiel.generaal.net for more info                            #
# or read the README.MySQL for explanations of the syntax.                 #
#                                                                          #
############################################################################


# Optional : MySQL server name or IP. Don't define this for unix sockets.


MYSQLServer     localhost


# Optional : MySQL port. Don't define this if a local unix socket is used.


# MYSQLPort       3306




# Optional : define the location of mysql.sock if the server runs on this host.


MYSQLSocket     /tmp/mysql.sock




# Mandatory : user to bind the server as.


MYSQLUser      root




# Mandatory : user password. You must have a password.


MYSQLPassword   669117606




# Mandatory : database to open.


MYSQLDatabase  ftpusers




# Mandatory : how passwords are stored
# Valid values are : "cleartext", "crypt", "md5" and "password"
# ("password" = MySQL password() function)
# You can also use "any" to try "crypt", "md5" *and* "password"


MYSQLCrypt      md5









config.php 如下




root@peer1:~# cat /home/wwwroot/ftp/config.php
<?php
  /* 'User manager for PureFTPd' is made by M.Mastenbroek 2002 - 2005
   *  For more info look at http://machiel.generaal.net
   *  Version 2.1
   */

  $LANG = "Chinese";                  // See the directory language for the available languages.

  $LocationImages =  "images";        // Location of images

  $DBHost = "localhost";              // Ip-address of MySQL server
                                      // (Don�t change this if you are using the default database)

  $DBLogin = "root";                   // Username of MySQL user

  $DBPassword = "669117606";          // Password of MySQL user

  $DBDatabase = "ftpusers";           // Name of database

  $FTPAddress = "69.172.213.166";   // Domain name or ip-address of your ftp server

  $DEFUserID = "65534"; // nobody     // Default user id of virtual ftp user.

  $DEFGroupID = "31";   // guest      // Default group is of virtual ftp user.

  $UsersFile = "/etc/passwd";        // The unix user file

  $GroupFile = "/etc/group";         // The unix group file

  $StyleSheet = "style/default.css.php"; // The location of the style sheet

  $EnableQuota = 0;                  // Enable virtual quota's (0=Off 1=On)

  $EnableRatio = 0;                  // Enable ratio (0=Off 1=On)

美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-21 02:38 , Processed in 0.025284 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表