由 Snoopy 在 12-30-2003 11:16 发表:
proftpd?
今天刚从vsftp转来proftp,确实比vsftp好得多,
如何控制某个用户必须用某个ip才能来访问啊?
虚拟个目录能实现某个用户用某个ip才能登录
1<anonymous home="" pink="">
2
3User pink
4
5Group pink
6
7MaxClientsPerHost 5 "Sorry,This ftp only use Five's IP connect!!"
8
9AnonRequirePassword on
10
11<limit login="">
12
13Order allow,deny
14
15Allow from 192.168.206.8
16
17Deny from all
18
19</limit>
20
21#
22
23<limit dele="" mkd="" rnfr="">
24
25Allow All
26
27</limit>
28</anonymous>
虚拟了目录,用户不能浏览别的目录,我想让它可以到处访问目录,怎么办?
And then in the evening light, when the bars of freedom fall
I watch the two of you in the shadows on the wall
How in the darkness steals some of the choices from my hand
Then will I begin to under
由 Snoopy 在 12-30-2003 11:20 发表:
如果使用Directory它可以到处访问,却不能实现某个用户只能用某个ip访问
#DefaultRoot
1<directory home="" pink="">
2
3User pink
4
5<limit dele="" read="" rmd="" rnfr="" rnto="" site="" write="" xrmd="">
6
7AllowAll
8
9</limit>
10</directory>
显示的错误是Starting proftpd: - Fatal: User: directive not allowed in
1<directory> context
2
3
4
5请问怎么才能限制某个用户用某个ip访问,而且可以其他目录(不限于家目录下),,,,,,
6
7__________________
8
9And then in the evening light, when the bars of freedom fall
10
11I watch the two of you in the shadows on the wall
12
13How in the darkness steals some of the choices from my hand
14
15Then will I begin to under
16
17
18
19
20* * *
21
22
23_由 lanmaster 在 12-30-2003 11:22 发表:_
24
25
26
27****
28
29
30
31
32
33你是不是想让某个用户可以这么做呀还是所有的都这么做?
34
35如果是某个可不可以通过权限</directory>