全國最多中醫師線上諮詢網站-台灣中醫網
發文 回覆 瀏覽次數:864
推到 Plurk!
推到 Facebook!

設定Proftpd1.2.8的問題.......

尚未結案
jojoboy
初階會員


發表:65
回覆:108
積分:34
註冊:2002-03-13

發送簡訊給我
#1 引用回覆 回覆 發表時間:2003-05-06 20:06:57 IP:61.220.xxx.xxx 未訂閱
請教各位前輩...... 我在RedHat 8.0中安裝了Proftpd1.2.8版...... 現在可以正常啟動...也可以登入了..... 但我匿名登入時,卻無法在/home/ftp/pub中做任何新增刪除的動作..... 我有試著將/home/ftp/pub更改權限為 777了..... 但依然不行....... 不知還要怎麼更改設定..... 望前輩能多多幫忙.......    以下是/usr/local/etc/proftpd.conf的內容    ServerName                      "Linux ProFTPD Server" ServerType                      standalone DefaultServer                   on    # Port 21 is the standard FTP port. Port                            21    # Umask 022 is a good standard umask to prevent new dirs and files # from being group and world writable. Umask                           022    # To prevent DoS attacks, set the maximum number of child processes # to 30.  If you need to allow more than 30 concurrent connections # at once, simply increase this value.  Note that this ONLY works # in standalone mode, in inetd mode you should use an inetd server # that allows you to limit maximum number of processes per service # (such as xinetd). MaxInstances                    30    # Set the user and group under which the server will run. User                            nobody Group                           nobody DefaultRoot ~ ftpuser    # To cause every FTP user to be "jailed" (chrooted) into their home # directory, uncomment this line. #DefaultRoot ~    # Normally, we want files to be overwriteable. <Directory /*>   AllowOverwrite                on </Directory> # A basic anonymous configuration, no upload directories.  If you do not # want anonymous users, simply delete this entire  section. <Anonymous /home/ftp/pub> User ftp Group ftp # We want clients to be able to login with "anonymous" as well as "ftp" UserAlias anonymous ftp # Limit the maximum number of anonymous logins MaxClients 10 <Directory /*> AllowOverwrite on </directory> # We want 'welcome.msg' displayed at login, and '.message' displayed # in each newly chdired directory. DisplayLogin welcome.msg DisplayFirstChdir .message RequireValidShell off # Limit WRITE everywhere in the anonymous chroot <Limit WRITE> DenyAll </Limit> </Anonymous> 發表人 - jojoboy 於 2003/05/06 20:28:01 發表人 - jojoboy 於 2003/05/06 20:42:28
hcker
中階會員


發表:95
回覆:118
積分:62
註冊:2003-02-09

發送簡訊給我
#2 引用回覆 回覆 發表時間:2003-05-24 09:32:27 IP:218.19.xxx.xxx 未訂閱
一般這樣的問題除了用戶許可權分配以外,您的配置檔似乎沒有涉及到對匿名用戶的許可權分配,我以前配置過Proftpd太長時間沒動了,希望對你有所幫助 本是同根生,相煎何太急?
系統時間:2024-05-17 19:05:32
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!