文件服务器安装配置说明手册,FreeBSD全能服务器安装手册之文件服务器篇之A安装配置篇(5)-站长资讯中心…

FreeBSD全能服务器安装手册之文件服务器篇之A安…

2009-05-13 03:35:19来源:未知 阅读 ()

c4468b3f4df77e96b0a416fa2a870fba.png

# MySQLGetBandwidthDL SELECT DLBandwidth FROM users WHERE User=”\L”

#下传/下载带宽(单位KB/s)。MySQLGetBandwidthUL上传带宽,MySQLGetBandwidthDL3

#下载带宽。如上传500KB/s,下载50KB/s

# Enable ~ expansion. NEVER ENABLE THIS BLINDLY UNLESS :

# 1) You know what you are doing.

# 1)你知道你正在做什么?

# 2) Real and virtual users match.

# 2)真实的和虚拟的用户相匹配

# MySQLForceTildeExpansion 1

# 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 (

# MySQLTransactions On

# 此文的配置文件可以根据个人的实际需要来配置完成

#############################################################################################################################################################################################################################################

###############################################################################

#################################设置pure-ftpd.conf##############################

ee /usr/local/etc/pure-ftpd.conf

############################################################

#                                                          #

#         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/local/sbin/pure-config.pl /usr/local/etc/pure-ftpd.conf

#

# Please don’t forget to have a look at documentation at

# http://www.pureftpd.org/documentation.shtml for a complete list of

# options.

# Cage in every user in his home directory

ChrootEveryone              yes

# chroot每一个用户,等同于Proftpd 中的DefaultRoot~ , 可以限制用户在某个地方活动,增

# 强服务器的安全性。使用户不能通过cd命令进入上一级目录。

# If the previous option is set to “no”, members of the following group

# won’t be caged. Others will be. If you don’t want chroot()ing anyone,

# just comment out ChrootEveryone and TrustedGID.

# TrustedGID                    100

标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com

特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有