LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: picotrue

发布我的ftp,welcome to tongji-picole

[复制链接]
 楼主| 发表于 2003-5-11 19:59:56 | 显示全部楼层
sorry ,too many people.
but as if we linuxsirs,i can give a account:
try this :tongji/shanghai.
many thanks for your sopporting!
发表于 2003-5-11 22:05:47 | 显示全部楼层
up 能回答我的问题吗
发表于 2003-5-12 14:18:00 | 显示全部楼层
TO:picotrue
能否把你的proftpd.conf发上来看一下呀!!

我的ftp就是不能anonymous登陆。。。系统用户可以。。。还有怎么加一个用户给这里的兄弟们用,就像你设置的那样。。。

谢谢。。。希望看到你的proftpd.conf。。。
 楼主| 发表于 2003-5-12 16:17:23 | 显示全部楼层
我的配置文件没有什么设置,我只是在全局设置的时候加上了一个帐号限制,其实这个帐号是我的系统上的一个帐号,我只是把她登入的目录限制在下载目录下罢了。其他都是默认的设置。
DefaultRoot  /home/ftp/pub   tongji
#A basic anonymous configuration,no upload directories.
 楼主| 发表于 2003-5-12 22:42:11 | 显示全部楼层
# 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/nogroup" and "ftp" for normal operation and anon.

ServerName                "tongji-picole"
ServerType                        inetd
DeferWelcome                        off

MultilineRFC2228                on
DefaultServer                        on
ShowSymlinks                        on
AllowOverwrite                        on

TimeoutNoTransfer                180
TimeoutStalled                        240
TimeoutIdle                        180

DisplayLogin                    welcome.msg
DisplayFirstChdir               .message
ListOptions                        "-l"

DenyFilter                        \*.*/

# Uncomment this if you are using NIS or LDAP to retrieve passwords:
#PersistentPasswd                off

# Uncomment this if you would use TLS module:
#TLSEngine                         on

# Uncomment this if you would use quota module:
#Quotas                                on

# Port 21 is the standard FTP port.
Port                                21

# 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 that the server normally runs at.
User                                nobody
Group                                nogroup

# Normally, we want files to be overwriteable.
<Directory /*>
  # Umask 022 is a good standard umask to prevent new files and dirs
  # (second parm) from being group and world writable.
  Umask                                022  022

  AllowOverwrite                on
</Directory>
DefaultRoot  /home/ftp/pub  tongji
# A basic anonymous configuration, no upload directories.

# These lines are marked with ##proftpd.deb anon access## so that they
# can be recognized, and edited by postinst.  You can remove them once
# you're sure you don't want to keep them around.

<Anonymous ~ftp>
  User                                ftp
  Group                                nogroup
  # We want clients to be able to logi
# n with "anonymous" as well as "ftp"
  UserAlias                        anonymous ftp

  RequireValidShell                off

  # Limit the maximum number of anonymous logins
  MaxClients                        12
  MaxClientsPerHost     3  "!!!one ip allow 3 thread"
  MaxClientsPerUser    12  "!!!too many users,try after 3 min!!!"
#  DefaultRoot /home/ftp/pub tongji
  # We want 'welcome.msg' displayed at login, and '.message' displayed
  # in each newly chdired directory.
  DisplayLogin                        welcome.msg
  DisplayFirstChdir                .message

  # Limit WRITE everywhere in the anonymous chroot
  <Directory *>
    <Limit WRITE>
      DenyAll
    </Limit>
  </Directory>

  # Uncomment this if you're brave.
  # <Directory incoming>
  #   # Umask 022 is a good standard umask to prevent new files and dirs
  #   # (second parm) from being group and world writable.
  #   Umask                                022  022
  #            <Limit READ WRITE>
  #            DenyAll
  #            </Limit>
  #            <Limit STOR>
  #            AllowAll
  #            </Limit>
  # </Directory>
发表于 2003-5-13 01:54:01 | 显示全部楼层
现在连不上了???
发表于 2003-5-13 10:20:40 | 显示全部楼层
TO:::: picotrue

你的proftpd.conf是从哪里改过来的??用的是哪个文件??我用的就很短的几行...

还有,一般都是把nogroup改为nobody的...你的系统里有nogroup这个组吗??

如何限制每个用户的带宽/流量/下载速度?呢??
发表于 2003-5-13 11:09:48 | 显示全部楼层
还有,welcome.msg要放到哪里呀??
 楼主| 发表于 2003-5-13 12:50:50 | 显示全部楼层
prolife
不好意思,昨天因为原来寝室里的一个同学要去德国了,所以
昨天为他送行,然后吃了晚饭,我们在寝室里打游戏,所以……
 楼主| 发表于 2003-5-13 12:53:54 | 显示全部楼层
to :hgkrt
我的ftp没有限制速度的,我的welcome文件放在pub一起,与pub是在一起的,并排的。
我的debian下的ftp是自动设置好的,所以我只要小改一下就好了!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表