Proftpd.conf 配置指令手冊(中文)_第1頁
已閱讀5頁,還剩30頁未讀 繼續(xù)免費閱讀

下載本文檔

版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領

文檔簡介

1、proftpd.conf 配置指令手冊(中文)論功能的確 prod 最為強大,以下為 proftpd.conf 的配置指定手冊,呵呵,惟獨簡短的解釋啊!- accessdenymsg - 拜訪否決的信息提醒(530)。 語法:accessdenymsg "messge" 語境:server config, virtualhost , anonymous , global 模塊:mod_auth 范例:accessdenymsg "用戶%u拜訪被否決!" - accessgrantmsg - 拜訪否決的信息提醒(230)。 語法:accessgrantms

2、g "messge" 語境:server config, virtualhost , anonymous , global 模塊:mod_auth 范例:accessgrantmsg "用戶%u勝利登陸!" - allow - 用法網(wǎng)絡號、主機、域名控制允許拜訪 語法:allow "from" "all"|"none"|host|network,host|network,. 默認:allow from all 語境: limit limit login order allow,deny allo

3、w from 128.44.26.,myhost.mydomain.e,. deny from all /limit - allowall - 全部客戶端允許拜訪 語法:allowall 語境: directory , anonymous , limit , .ftpaccess 模塊:mod_auth limit retr allowall /limit - allowclass - 用法類控制允許拜訪 語法:allowclass "and"|"or"|"reg" class-ession 語境: lim

4、it class internal from /24 /class limit login allowclass internal /limit - allowfilter - 以表達式匹配全部發(fā)送到proftpd的,匹配失敗則會禁止此指令。 語法:allowfilter regular-expression 語境:server config, virtualhost , global , anonymous , directoryl , .ftpaccess 范例:allowfilter "a-za-z0-9 ,*$" - allowforeigna

5、ress - 控制客戶端用法 port 模式(主動) 語法:allowforeignaddress on|off 默認:allowforeignaddress off 語境:server config, virtualhost , anonymous , global - allowgroup - 用法用戶組控制允許拜訪 語法:allowgroup "and"|"or"|"regex" group-expression 語境: limit 范例:allowgroup or www,doc - allowlogsymlinks - 允許

6、符號鏈接 語法:allowlogsymlinks "on"|"off" 默認:allowlogsymlinks off 語境:server config, virtualhost , global - allowoverre - 控制那些.ftpaccess文件將解析 語法:allowoverride on|off "user"|"group"|"class" expression 默認:allowoverride on 語境:server config, global , virtualhos

7、t , anonymous - allowover - 控制能否籠罩現(xiàn)有的文件 語法:allowoverwrite on|off 默認:allowoverwrite off 語境:server config, virtualhost , anonymous , directory , global , .ftpaccess 模塊:mod_xfer 范例:allowoverwrite on - allowretrieverestart - 允許客戶機復原下載 語法:allowretrieverestart on|off 默認:allowretrieverestart on 語境:server c

8、onfig, virtualhost , anonymous , directory , global , .ftpaccess - allowstorerestart - 允許客戶機復原上傳(續(xù)傳) 語法:allowstorerestart on|off 默認:allowstorerestart off 語境:server config, virtualhost , anonymous , directory , global , .ftpaccess - allowuser - 用法用戶控制允許拜訪 語法:allowuser "and"|"or"|&

9、quot;regex" user-expression 語境: limit 范例:allowuser regex ftp - anonratio - 用法匿名用戶的密碼匹配設置上傳下載比(通常密碼是郵箱) 語法:anonratio anonpwd ratio file byteratio bytequota anonpwd:就是登入 proftpd 的匿名用戶的密碼 fileratio :這個是以檔案為基準的比例,通常不限制,故為 0 filequota :預設能夠下載多少檔案,不限制時為 0 byteratio :就是上傳/下載的比例,這個數(shù)字代表1:下載之意! bytequota

10、 :預設能夠下載多少 kbytes 的檔案!注重單位喔! 語境: directory , anonymous , limit ,.ftpaccess 模塊:mod_ratio 范例:anonratio 0 0 -2 0 - anonrpasswords - 屏蔽某些匿名用戶的密碼 語法:anonrejectepasswords regex 語境: anonymous 模塊:mod_auth 范例:anonrejectpasswords $ - anonrequirepassword - 使匿名用戶提供一個有效的密碼 語法:anonrequirepa

11、ssword on|off 默認:anonrequirepassword off 語境: anonymous 模塊:mod_auth - anonymous - 定義一個匿名服務 語法:anonymous root-directory 語境:server config, virtualhost , global anonymous /home/ftp directory * limit write denyall /limit /directory /anonymous - anonymousgroup - 使組成員都成為匿名用戶 語法:anonymousgroup group 語境:serv

12、er config, virtualhost , global 范例:anonymousgroup www - authaliasonly - 只允許別號登陸,不允許真切用戶登陸 語法:authaliasonly on|off 默認:server config, virtualhost , anonymous , global 語境:mod_auth - authgroupfile - 用法用戶組數(shù)據(jù)文件替代系統(tǒng)組 語法:authgroupfile path 語境:server config, virtualhost , global 模塊:mod_auth_file 范例:authgroup

13、file /usr/local/proftpd/etc/itwhy.ftpd.group - authorder - 配置模塊檢查挨次 語法:authorder module-name. 語境:server config, virtualhost , global 范例:authorder mod_sql.c mod_ldap.c - authpam - 啟用/禁用 pam 認證 語法:authpam on|off 默認:authpam on 語境:server config, virtualhost , global 模塊:mod_auth_pam - authpamconfig - pam

14、 服務名稱 語法:authpamconfig service 默認:authpamconfig ftp 語境:server config, virtualhost , global 模塊:mod_auth_pam 范例:authpamconfig itwhy_ftp - authuserfile - 用法用戶數(shù)據(jù)文件替代系統(tǒng)用戶 語法:authuserfile path 語境:server config, virtualhost , global 模塊:mod_auth_file 范例:authgroupfile /usr/local/proftpd/etc/itwhy.ftpd.user -

15、 authusingalias - 通過別號認證代替映射的用戶名 語法:authusingalias on|off 默認:authusingalias off 語境: anonymous 模塊:mod_auth - bind - 已廢棄 - byteratioerrmsg - byteratio限制超過提醒信息。 語法:byteratioerrmsg "messge" 語境: directory , anonymous , limit ,.ftpaccess 模塊:mod_ratio 范例:byteratioerrmsg "byteratio limit exce

16、eded, upload something first." - capabilitiesengine - 啟用/禁用mod_cap模塊 語法:capabilitiesengine on/off 語境:server config, virtualhost , global 模塊:mod_cap - capabilitiesset - mod_cap的能力操縱 語法:capabilitiesset +/-capability. 語境:server config, virtualhost , global 模塊:mod_cap ifmodule mod_cap.c capabilitie

17、sengine on capabilitiesset -cap_chown +cap_dac_read_search +cap_fowner /ifmodule - cdpath - 定義用法 指令轉變名目時用法的搜尋路徑 語法:cdpath directory 語境:server config, virtualhost , anonymous , global 范例:cdpath /home/public cdpath /var/devel 用戶用法cd指令轉變名目時,會依次搜索/home/public和/var/devel,只要有相應的權限。 - class - 定義一個客戶端銜接類 語法

18、:virtualhost class name 語境:server config 范例:見allowclass命令 - commandbuffersize - 限制最大的指令的長度 語法:commandbuffersize size 默認:commandbuffersize 512 語境:server config, virtualhost , global - createhome - 假如主名目不存在,則創(chuàng)建它 語法:createhome off|on mode skel path diode mode 語境:server config, virtualhost , global 模塊:m

19、od_auth 范例:createhome on skel /etc/ftpd/skel dirmode 700 - cwdratiomsg - ratio模塊的命令 語法:cwdratiomsg "messge" 語境: directory , anonymous , limit ,.ftpaccess 模塊:mod_ratio 范例:cwdratiomsg "please upload first!" - debuglevel - 設置調試級別 語法:debuglevel 0-9 默認:debuglevel 0 語境:server config, v

20、irtualhost , global - defaultaddress - 設置服務器默認監(jiān)聽ip址 語法:defaultaddress dns-names|ip-addresses seperated with spaces 語境:server config 范例:defaultaddress 0 my.domain.tld - defaultchdir - 設置會話開頭名目 語法:defaultchdir directory group-expression 默認:defaultchdir 語境:server config, virtualhost , anony

21、mous , global 模塊:mod_auth - defaultroot - 轉變用戶根名目,用法戶監(jiān)禁在此名目中 語法:defaultroot directory group-expression 默認:defaultroot / 語境:server config, virtualhost , global 模塊:mod_auth 范例:defaultroot users,!admin - defaultserver - 設置默認的服務 語法:defaultserver on|off 語境:server config, virtualhost - defaulttransfermode

22、 - 設置默認的數(shù)據(jù)傳輸方式 語法:defaulttransfermode ascii|binary 默認:defaulttransfermode ascii 語境:server config, virtualhost , global - deferwelcome - 不顯示歡迎信息,直到用戶驗證 語法:deferwelcome on|off 默認:deferwelcome off 語境:server config, virtualhost , global - define - initialises定義為ifdefine 語法:define parameter-name 語境:any c

23、ontext 范例:ifdefine loadlimiting - delayengine - 用法mod_delay模塊 語法:delayengine on|off 默認:delayengine on 語境:server config 模塊:mod_delay ifmodule mod_delay.c delayengine off /ifmodule - delaytable - 命令存儲時光數(shù)據(jù)文件 語法:delaytable path 默認:delaytable var/proftpd/proftpd.delay 語境:server config 模塊:mod_delay - dele

24、teabortedstores - 刪除除未徹低上傳的文件 語法:deleteabortedstores on|off 默認:deleteabortedstores off 語境:server, virtualhost , directory , anonymous , global , .ftpaccess 模塊:mod_xfer - deny - 與 allow 命令相反 - denyall - 與 allowall 命令相反 - denyclass - 與 allowclass 命令相反 - denyfilter - 與 allowfilter 命令相反 pasv模式下無效 - deny

25、group - 與 allowgroup 命令相反 - denyuser - 與 allowuser 命令相反 - directory - 名目限制配置命令 語法: directory pathname 語境:server config, virtualhost , anonymous , global directory /anon-ftp limit write denyall /limit /directory - dirfakegroup - 掩飾真正的文件所屬組 語法:dirfakegroup on|off groupname 默認:dirfakegroup off 語境:serve

26、r config, virtualhost , global , anonymous , directory , .ftpaccess 模塊:mod_ 范例:dirfakegroup on ftp - dirfakemode - 掩飾真切文件的權限 語法:dirfakemode octal-mode 語境:server config, virtualhost , global , anonymous , directory 模塊:mod_ls 范例:dirfakemode 0640 - dirfakeuser - 掩飾真正的文件所屬用戶 語法:dirfakeuser on|off userna

27、me 默認:dirfakeuser off 語境:server config, virtualhost , global , anonymous , directory , .ftpaccess 模塊:mod_ls - displaychdir - 設置轉變名目時顯示的文件 語法:displaychdir filename true 語境:server config, global , virtualhost , anonymous , directory 范例:displaychdir /home/ftp/.displaychdir true - displayconnect - 設置用戶銜

28、接時顯示的文件 語法:displayconnect filename 語境:server config, virtualhost , global - displayfiletransfer - 設置文件轉移時顯示的文件(上傳或下載) 語法:displayfiletransfer "name" limit|regex|ip value 語境:server config, global , virtualhost , anonymous , limit , .ftpaccess 模塊:mod_xfer - displayfirstchdir - 設置當?shù)谝淮芜M入一個名目時顯示

29、的文件 已廢棄 - displaygoaway - 設置最大銜接數(shù)達到上限被否決時顯示的文件 語法:displaygoaway filename 語境:server config, virtualhost , anonymous , global - displaylogin - 設置用戶勝利登陸時顯示的文件 語法:displaylogin filename 語境:server config, virtualhost , anonymous , global - displayquit - 設置用戶退出時顯示的文件 語法:displayquit filename 語境:server confi

30、g, virtualhost , anonymous , global - displayreadme - 顯示命令文件的修改時光 語法:displayreadme filename or pattern 語境:server config, virtualhost , anonymous , global 模塊:mod_readme 范例:displayreadme readme* - extendedlog - 定制log文件 語法:extendedlog filename command-classes format-nickname 語境:server config, virtualho

31、st , anonymous global 模塊:mod_log 范例:extendedlog /var/log/ftp.log read,write - fileratioerrmsg - 文件超過限制顯示的信息 語法:fileratioerrmsg "messge" 語境: directory , anonymous , limit ,.ftpaccess 模塊:mod_ratio 范例:fileratioerrmsg "fileratio limit exceeded, upload something first." - global - 全局設

32、置命令 語法: global 語境:server config, virtualhost - group - 設置proftpd進程所屬組 語法:group group groupid 語境:server config, virtualhost , anonymous , global 范例:group:nogroup - groupowner - 設置新文件的缺省組 語法:groupowner groupowner groupname 語境: anonymous , directory , .ftpaccess 范例:groupowner nogroup - grouppassword -

33、設置群組密碼,允許組成員用法單一的密碼 語法:grouppassword grouppassword groupid hashed-password 語境:server config, virtualhost , anonymous , global 模塊:mod_auth 范例:grouppassword 500 - groupratio - 用法用戶組匹配設置上傳下載比 語法:groupratio group fileratio filequota byteratio bytequota 語境: directory , anonymous , limit ,.f

34、tpaccess 模塊:mod_ratio 范例:groupratio www 0 0 2 0 - hiddenstor - 開啟平安上傳 已廢棄 - hiddenstores - 開啟平安上傳(hiddenstor的連續(xù)) 語法:hiddenstor on|off 默認:hiddenstor off 語境: directory , anonymous , virtualhost , global 模塊:mod_xfer 范例: 這個命令不能和allowstorerestart命令同時開啟 - hidefiles - 躲藏命令的文件 語法:hidefiles !regexp|"non

35、e" "user"|"group"|"class" expression 語境: directory , .ftpaccess 范例:hidefiles !(.htm|.html)$ group webmaster - hidegroup - 針對用戶組躲藏文件 語法:hidegroup groupid 語境: directory , anonymous 范例:hidegroup 500 - hidenoaccess - 針對戶沒有此名目權限 語法:hidenoaccess on|off 語境: directory , an

36、onymous - hideuser - 用法用戶躲藏文件 語法:hideuser userid 語境: directory , anonymous - hostratio - 用法主機匹配設置上傳下載比 語法:groupratio host fileratio filequota byteratio bytequota 語境: directory , anonymous , limit ,.ftpaccess 模塊:mod_ratio - identlookups - 通過rfc1413調用捕捉客戶機用戶的uid 語法:identlookups on|off 默認:identlookups

37、on 語境:server config, virtualhost , global - ifdefine -有條件地跳過或處理文件中部分指令 語法:ifdefine !define-label 語境:any ifdefine use_sql loadmodule mod_sql.c loadmodule mod_sql_mysql.c /ifdefine - ifmodule - 解析一段基于模塊的指定 語法:ifmodule !module-name 語境:any ifmodule mod_ratio.c ratios on /ifmodule - ignorehidden - 躲藏沒有任何

38、權限的文件 語法:ignorehidden on|off 默認:ignorehidden off 語境: limit - ilude - 包含另一個配置文件在你當前的配置文件 語法:include include file 語境:server config, directory , anonymous , virtualhost , global 范例:include itwhy_ftp.conf - ldapaliasdereference - ldap別號規(guī)定如何操作 語法:ldapaliasdereference never search always 默認:ldapaliasderef

39、erence never 語境:server config, global , virtualhost 模塊:mod_ldap - ldapattr - 自定義一些ldap屬性 語法:ldapattr uid gid homedir userpass shell cn memberuid quota "newattribute" 語境:server config, global , virtualhost 模塊:mod_ldap 范例: 這個指定必須放在任何ldap命令前面 - ldapauthbinds - 用法用戶提供的口令和搜尋到的用戶 dn 綁定 ldap 服務器,

40、來驗證口令 語法:ldapauthbinds on off 默認:ldapauthbinds off 語境:server config, virtualhost , global 模塊:mod_ldap - ldapdefaultauthscheme - 設置用法 hash 認證 語法:ldapdefaultauthscheme crypt 默認:ldapdefaultauthscheme "crypt" 語境:server config, virtualhost , global 模塊:mod_ldap - ldapdefaultgid - 設置默認的gid,當gid屬性沒有找到時 語法:ldapdefaultgid default-gid 語境:server config, virtualhost , global 模塊:mod_ldap - ldapdefaultuid - 設置默認的uid,當uid屬性沒有找到時 語法:ldapdefaultuid default-uid 語境:server config, virtualhost

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
  • 4. 未經(jīng)權益所有人同意不得將文件中的內容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
  • 6. 下載文件中如有侵權或不適當內容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論