由 n0fe@r 在 10-29-2002 20:13 发表:
proftpd anonymous登陆的问题
以下是我的conf其中一部分
1<anonymous ftp="" var="">
2
3User ftp
4
5Group ftp
6
7
8
9RequireValidShell off
10
11
12
13# We want clients to be able to login with "anonymous" as well as "ftp"
14
15UserAlias anonymous guest
16
17
18
19# Limit the maximum number of anonymous logins
20
21MaxClients 5 "Sorry, max %m clients has reached -- try again later"
22
23
24
25# We want 'welcome.msg' displayed at login, and '.message' displayed
26
27# in each newly chdired directory.
28
29DisplayLogin welcome.msg
30
31DisplayFirstChdir .message
32
33
34
35# Limit WRITE everywhere in the anonymous chroot
36
37#<limit write="">
38
39# DenyAll
40
41#</limit>
42</anonymous>
我已chown ftp.ftp /var/ftp,而且/var/ftp的组和其他用户都有rx权限。
但是anonymous登陆提示login incorrect。请问何故?
由 jing31 在 10-30-2002 21:10 发表:
proftp的 设置问题!
我现在已经安装了成功,,但是却无法访问,防火墙设置的是没有!
在这里看到的教程上写的添加用户组的命令也不好用!说参数有问题!
谁能帮忙说说怎么样添加用户组还有设置权限和目录?
为什么现在不能匿名访问!
我的配置是这样的:
ServerType standalone
DefaultServer on
Port 21
Umask 022
MaxInstances 30
User nobody
Group nobody
RequireValidShell off
DefaultRoot ~ test
DefaultRoot ~/ftp test
DefaultRoot /home/ftp music
DefaultRoot /home/ftp music,!bb
ServerIdent off
Normally, we want files to be overwriteable.
1<directory *="">
2
3AllowOverwrite on
4
5</directory>
A basic anonymous configuration, no upload directories.
1<anonymous ~ftp="">
2
3User ftp
4
5Group ftp
6
7# We want clients to be able to login with "anonymous" as well as "ftp"
8
9UserAlias anonymous ftp
10
11
12
13# Limit the maximum number of anonymous logins
14
15MaxClients 10
16
17
18
19# We want 'welcome.msg' displayed at login, and '.message' displayed
20
21# in each newly chdired directory.
22
23DisplayLogin welcome.msg
24
25DisplayFirstChdir .message
26
27
28
29
30
31谁能帮忙说说看,我是菜鸟大家不要笑我啊!!!
32
33
34
35
36* * *
37
38
39_由 lelong 在 10-30-2002 23:23 发表:_
40
41
42
43****
44
45
46
47
48
49<anonymous ftp="" ~="">
50
51~~
52
53
54
55
56* * *
57
58
59_由 n0fe@r 在 10-31-2002 13:02 发表:_
60
61
62
63****
64
65
66
67
68
69up
70
71
72
73
74* * *
75
76
77_由 chinadoudou 在 10-31-2002 13:53 发表:_
78
79
80
81**把以下注释去掉!**
82
83
84
85
86
87#Limit WRITE everywhere in the anonymous chroot
88
89<limit write="">
90
91AllowAll
92
93</limit>
94
95
96
97
98* * *
99
100
101_由 jing31 在 10-31-2002 21:01 发表:_
102
103
104
105****
106
107
108
109
110
111??
112
113不是很明白,偶是菜鸟,大家帮忙啊!
114
115
116
117
118* * *
119
120
121_由 dancingpig 在 10-31-2002 22:32 发表:_
122
123
124
125****
126
127
128
129
130
131<anonymous ftp="" home=""> // /home/ftp为匿名用户登录目录
132
133User ftp
134
135Group ftp
136
137UserAlias anonymous</anonymous></anonymous></anonymous>