红旗4.0(不是服务器版)安装了proftpd-1.2.9,proftpd能启动,但是用gftp打不开???

由 京儿 在 01-29-2004 03:30 发表:

红旗4.0(不是服务器版)安装了proftpd-1.2.9,proftpd能启动,但是用gftp打不开???

我在红旗桌面版上编译安装了proftpd-1.2.9,安装启动一切顺利!但是用gftp连接的时候显示:

查找 localhost.localdomain

尝试 localhost.localdomain:21

连接到 localhost.localdomain:21

220 ProFTPD 1.2.9 Server (ProFTPD Default Installation) [localhost.localdomain]

USER anonymous

331 Anonymous login ok, send your complete email address as your password.

PASS xxxx

530-Unable to set anonymous privileges.

530 Login incorrect.

正在断开与服务器 localhost.localdomain 的连接

这是什么问题呀?请帮帮我呀!

付:proftpd.conf文件

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 "ProFTPD Default Installation"

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

To cause every FTP user to be "jailed" (chrooted) into their home

directory, uncomment this line.

#DefaultRoot ~

Normally, we want files to be overwriteable.

1<directory></directory>

AllowOverwrite on

A basic anonymous configuration, no upload directories. If you do not

want anonymous users, simply delete this entire

  1<anonymous> section.   
  2  
  3<anonymous ~ftp="">   
  4  
  5User ftp   
  6  
  7Group ftp   
  8  
  9  
 10  
 11# We want clients to be able to login with "anonymous" as well as "ftp"   
 12  
 13UserAlias anonymous ftp   
 14  
 15  
 16  
 17# Limit the maximum number of anonymous logins   
 18  
 19MaxClients 10   
 20  
 21  
 22  
 23# We want 'welcome.msg' displayed at login, and '.message' displayed   
 24  
 25# in each newly chdired directory.   
 26  
 27DisplayLogin welcome.msg   
 28  
 29DisplayFirstChdir .message   
 30  
 31  
 32  
 33# Limit WRITE everywhere in the anonymous chroot   
 34  
 35<limit write="">   
 36  
 37DenyAll   
 38  
 39</limit>
 40</anonymous>   
 41  
 42  
 43  
 44__________________ 
 45
 46__________________   
 47  
 48Magic Linux 
 49
 50  
 51
 52
 53* * *
 54
 55  
 56_由 大熊宝宝 在 01-29-2004 17:28 发表:_   
 57  
 58
 59
 60****
 61
 62  
 63  
 64
 65
 66Anonymous login ok, send your complete email address as your password.   
 67  
 68PASS xxxx   
 69  
 70530-Unable to set anonymous privileges.   
 71  
 72没有匿名用户啊 你的proftpd.conf中要alais xxxx 
 73
 74__________________   
 75  
 76请兄弟们正确发贴,把问题发到相关版块 发贴标题请简明扼要 谢谢大家配合.   
 77  
 78新会员发贴前请学会搜索论坛 有可能你的问题已经有答案了 
 79
 80  
 81
 82
 83* * *
 84
 85  
 86_由 dancingpig 在 01-30-2004 13:43 发表:_   
 87  
 88
 89
 90****
 91
 92  
 93  
 94
 95
 96我一直按照xchen的配置没问题proftp1.28   
 97  
 98配置/usr/local/proftpd/etc/proftpd.conf文件:   
 99  
100vi /usr/local/proftpd.conf   
101  
102ServerName "Xchen FTP server" //服务器登录提示   
103  
104ServerType standalone   
105  
106DefaultServer on   
107  
108Port 21   
109  
110Umask 022   
111  
112MaxInstances 30   
113  
114User nobody   
115  
116Group nobody //原来为nogroup,请改成nobody   
117  
118RequireValidShell off //手动添加此名,重要   
119  
120//限定test组用户只能访问自己的home目录,而不能向上浏览   
121  
122DefaultRoot ~ test   
123  
124//限定test组用户只能访问自己的/home/ftp目录,不能向上浏览   
125  
126DefaultRoot ~/ftp test   
127  
128//限定music组用户只能访问/home/music目录,不能向上浏览   
129  
130DefaultRoot /home/ftp music   
131  
132//除music组中bb用户外都能访问/home/music目录,不能向上浏览   
133  
134DefaultRoot /home/ftp music,!bb   
135  
136//上面组需要自己建立:groupadd test,gpasswd –a username test   
137  
138ServerIdent off //登录时不显示版本信息   
139  
140<directory *="">   
141  
142AllowOverwrite on   
143  
144</directory>
145<anonymous ftp="" home=""> // /home/ftp为匿名用户登录目录   
146  
147User ftp   
148  
149Group ftp   
150  
151UserAlias anonymous ftp   
152  
153MaxClients 10   
154  
155DisplayLogin welcome</anonymous></anonymous>
Published At
Categories with 服务器类
Tagged with
comments powered by Disqus