pureftpd mysql.conf_pureftpd-mysql.conf配置文件
pureftpd-mysql.conf配置文件
(2010-09-06 11:27:11)
标签:
it
############################################################################
# #
# 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 123456
# 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
# In the following directives, parts of the strings are replaced
at
# run-time before performing queries :
#
# \L is replaced by the login of the user trying to
authenticate.
# \I is replaced by the IP address the user connected to.
# \P is replaced by the port number the user connected to.
# \R is replaced by the IP address the user connected from.
# \D is replaced by the remote IP address, as a long decimal
number.
#
# Very complex queries can be performed using these substitution
strings,
# especially for virtual hosting.
# Query to execute in order to fetch the password
MYSQLGetPW SELECT Password FROM users WHERE User="\L" AND
Status="1" AND (Ipaddress = "*" OR Ipaddress LIKE "\R")
# Query to execute in order to fetch the system user name or
uid
MYSQLGetUID SELECT Uid FROM users WHERE User="\L" AND Status="1"
AND (Ipaddress = "*" OR Ipaddress LIKE "\R")
# Optional : default UID - if set this overrides MYSQLGetUID
#MYSQLDefaultUID 1000
# Query to execute in order to fetch the system user group or
gid
MYSQLGetGID SELECT Gid FROM users WHERE User="\L" AND Status="1"
AND (Ipaddress = "*" OR Ipaddress LIKE "\R")
# Optional : default GID - if set this overrides MYSQLGetGID
#MYSQLDefaultGID 1000
# Query to execute in order to fetch the home directory
MYSQLGetDir SELECT Dir FROM users WHERE User="\L" AND Status="1"
AND (Ipaddress = "*" OR Ipaddress LIKE "\R")
# Optional : query to get the maximal number of files
# Pure-FTPd must have been compiled with virtual quotas
support.
MySQLGetQTAFS SELECT QuotaFiles FROM users WHERE User="\L" AND
Status="1" AND (Ipaddress = "*" OR Ipaddress LIKE "\R")
# Optional : query to get the maximal disk usage (virtual
quotas)
# The number should be in Megabytes.
# Pure-FTPd must have been compiled with virtual quotas
support.
MySQLGetQTASZ SELECT QuotaSize FROM users WHERE User="\L" AND
Status="1" AND (Ipaddress = "*" OR Ipaddress LIKE "\R")
# Optional : ratios. The server has to be compiled with ratio
support.
MySQLGetRatioUL SELECT ULRatio FROM users WHERE User="\L" AND
Status="1" AND (Ipaddress = "*" OR Ipaddress LIKE "\R")
MySQLGetRatioDL SELECT DLRatio FROM users WHERE User="\L" AND
Status="1" AND (Ipaddress = "*" OR Ipaddress LIKE "\R")
# Optional : bandwidth throttling.
# The server has to be compiled with throttling support.
# Values are in KB/s .
MySQLGetBandwidthUL SELECT ULBandwidth FROM users WHERE User="\L"
AND Status="1" AND (Ipaddress = "*" OR Ipaddress LIKE "\R")
MySQLGetBandwidthDL SELECT DLBandwidth FROM users WHERE User="\L"
AND Status="1" AND (Ipaddress = "*" OR Ipaddress LIKE "\R")
# Enable ~ expansion. NEVER ENABLE THIS BLINDLY UNLESS :
# 1) You know what you are doing.
# 2) Real and virtual users match.
# MySQLForceTildeExpansion1
# If you upgraded your tables to transactionnal tables
(Gemini,
# BerkeleyDB, Innobase...), you can enable SQL transactions
to
# avoid races. Leave this commented if you are using the
# traditionnal MyIsam databases or old (< 3.23.x)
MySQL versions.
# MySQLTransactions On
分享:
喜欢
0
赠金笔
加载中,请稍候......
评论加载中,请稍候...
发评论
登录名: 密码: 找回密码 注册记住登录状态
昵 称:
评论并转载此博文
发评论
以上网友发言只代表其个人观点,不代表新浪网的观点或立场。
pureftpd mysql.conf_pureftpd-mysql.conf配置文件相关推荐
- pureftpd 配置 mysql_pureftpd+mysql验证的安装配置文档
pureftpd+mysql验证的安装配置文档 一.mysql编译安装: 1,准备工作 a,下载安装程序mysql-5.1.41.tar.gz b,为mysql建立用户和组 groupadd -g 2 ...
- mysql.server 文件是什么_mysql的启动脚本mysql.server及示例配置文件
以MySQL-server-4.0.14-0.i3862881064151.rpm为例,放在/data目录下 cd /data rpm -ivh MySQL-server-4.0.14-0.i386. ...
- phpstudy升级mysql之后,修改配置文件无效的问题
博主刚到新公司,用的还是phpstudy集成环境,只是公司用的数据库是Mysql5.7的,而phpstudy默认自带的数据库只是mysql5.5的.无奈之下升级,但是升级后发现修改配置文件无效,一定是 ...
- Centos 7 上 查看MySQL当前使用的配置文件my.cnf的方法
my.cnf是mysql启动时加载的配置文件,一般会放在mysql的安装目录中,用户也可以放在其他目录加载.总的来说,my.cnf类似与window中my.ini 使用locate my.cnf命令可 ...
- c 5.6 mysql 配置文件_Windows系统中MySQL 5.6的配置文件(my.ini)修改方法_MySQL
bitsCN.com Windows系统中MySQL 5.6的配置文件(my.ini)修改方法 这也是一个小经验.由于实验需要,我需要修改一下MySQL的配置文件my.ini.在MySQL 5.6.8 ...
- mysql目录下没有配置文件_MySQL没有my.cnf配置文件如何解决
安装了mysql却没有my.cnf配置文件是个很多新手都会遇到的问题.想必很多新手都经历到过这样的情景:准备修改mysql存储空间(datadir)等情况时,按着网上的教学去做,突然发现居然没有my. ...
- Asterisk针对Mysql的extconfig.conf配置
Asterisk针对Mysql的extconfig.conf配置,这其中涉及到的表的structure [setting] sipusers => mysql,general,sip_buddi ...
- mysql 多实例 独立配置文件_三、安装配置多实例MYSQL5.6-多独立配置文件方法
三.安装配置多实例MYSQL5.6-多独立配置文件方法 1.准备工作 检查操作系统版本.内核版本.selinux是否关闭.防火墙策略.IP地址.主机名配置.host表配置.yum配置 上传cmake. ...
- mysql yum安装与配置文件_MySQL 8.0 yum安装和配置
MySQL 8.0 centos7.5 x86_64 一.yum安装 1.先卸载机器和mysql有关的东西,有的安装了mariab-lib,会对安装有干扰,卸载了它. [root@localhost ...
最新文章
- nginx反向代理(proxy_pass)tomcat的过程中,session失效的问题解决
- iOS面试题02-UI篇
- MySQL 基础 ———— 连接查询
- wins宝塔安装提示已经有php,centOS安装宝塔提示报错
- 详解MBR分区结构以及GPT分区结构
- LibSass 的二进制文件(P:\HBuilderX\plugins\compile-node-sass\node_modules\node-sass-china\vendor\win32-ia32
- 搜索和内容生态的关系
- 大众点评 爬虫 python_大众点评爬虫教程 - 八爪鱼采集器
- Delphi FastReport组件下载,包含多个版本,自己选择
- android 闹钟设置铃声,安卓手机闹钟设置音乐铃声的方法
- 湖南麒麟下安装mellanox网卡驱动问题
- python编程拍卖算法
- PHP语言对用户输入的身份证信息进行实名认证(阿里云身份证实名认证接口API)
- unity物体自身轴旋转_Unity 中物体的旋转
- 银行,金融行业的清算,结算到底是什么含义
- 淘淘商城第51讲——从商城首页跳转到搜索页面
- vue 获取用户位置 高德_Vue使用高德地图
- 学了3,4年,终于明白了高斯白噪声的那些东西。
- button控件具体用法(CommandName, CommandArgument)
- superset 1.3 地图 汉字 展示,省市编码 ISO3166