考试网 >> IT认证 >> Linux >> Linux动态 >> ProFTPD支持MySQL添加虚拟用户认证及磁盘限额

ProFTPD支持MySQL添加虚拟用户认证及磁盘限额

发布时间:2006-06-28 09:54     点击:
分页:上一页  1 2 3 4 5 [6] 7 8 9 10  下一页  后10页

  `files_out_used` int(10) unsigned NOT NULL default ’0’,

  `files_xfer_used` int(10) unsigned NOT NULL default ’0’

) ENGINE=MyISAM DEFAULT CHARSET=latin1;

4、ProFTPD的配置文件proftpd.conf 

在我们这个例子中,ProFTPD的配置文件在/opt/proftpd/etc目录中,就是proftpd.conf文件;您可以把它改名备份;

[root@localhost ~]# cd /opt/proftpd/etc/

[root@localhost etc]# mv proftpd.conf proftpd.confBAK

然后再新建一个 proftpd.conf 文件,内容如下;您可以对这个文件进行相应的调整;其中#号部份就是注掉的,不会生效;注意一下MySQL连接数据库部份;另外如果您不是把ProFTPD安装在了/opt/proftpd目录下,一些东西也是需要调整的;自己看着办吧;

# This is a basic ProFTPD configuration file (rename it to

# ’proftpd.conf’ for actual use. It establishes a single server

# and a single anonymous login. It assumes that you have a user/group

# "nobody" and "ftp" for normal operation and anon.

ServerName "My TestFTP" #这是您的FTP服务器的名字,自己写定

ServerType standalone

ServerAdmin xxxxx@xxxxxxxxxxx.com #这是管理员信箱,自己来写;

DefaultServer On

# Display message

DisplayLogin /opt/proftpd/etc/ftplogin.msg

#DisplayConnect /net/messages/ftp.pre

#DisplayFirstChdir index.txt

# Port 21 is the standard FTP port.

Port 21

# Limit users to login by username
分页:上一页  1 2 3 4 5 [6] 7 8 9 10  下一页  后10页
版权申明:未经书面授权请勿转载本站信息!!作品版权归所属媒体与作者所有!!
发表评论: 匿名发表 用户名: 查看评论
您将承担一切因您的行为、言论而直接或间接导致的民事或刑事法律责任
留言板管理人员有权保留或删除其管辖留言中的任意内容
本站提醒:不要进行人身攻击。谢谢配合。
在本站搜索相关信息
2003-2005 Ksw123.com All Rights Reserved. - TOP
Copyright © 2006 Ksw123.com. All rights reserved.中国考题网 版权所有