T086ѧϰ�� | վ��ѧԺ | �����ĵ� | ���� | Ъ���� | IP��ַ��ѯ | �������� | ���ջ��� | �����ֵ� | ���ù��� | ������Ϣ��ѯ

proftpd.conf ������������

�� ˮľ�廪վ���ߣ����� ����ʱ�䣺2006-11-14 | ���壺�� �� С��
[����]������: CrazyKid (����С�ӡ���ѧϰ/������), ����: Linux �� ��: [����] proftpd.conf ������������ ����վ: BBS ˮľ�廪վ (Tue Oct 29 11:38:48 2002), վ���ż� #proftpd.conf # [email protected] # by windtear...

������: CrazyKid (����С�ӡ���ѧϰ/������), ����: Linux
��  ��: [����] proftpd.conf ������������
����վ: BBS ˮľ�廪վ (Tue Oct 29 11:38:48 2002), վ���ż�

#proftpd.conf
[email protected]
# by [email protected]
# 2002-10-29 11:41
#
<Global>                        #globalҲ�ɲ�Ҫ�����������ö�������վ������
IdentLookups            off     #���ӿ�Щ ���к����� UseReverseDNS
RequireValidShell       off     #������һ����Ҫ��������
MaxLoginAttempts        1       #�����Ļ�1�Ϳ����ˣ�����������֤����
WtmpLog NONE                    #����log��wtmp
DenyFilter *.*/|.ftpaccess     #DenyFilter��һЩ���ˣ���������ʽ
#DenyFilter ~!`**/?,$@         # �����Լ���Ҫд�ɣ������ĺ���:P
#LsDefaultOptions       "-l"    #ls����
#AllowForeignAddress    on      #Ҫ���� FXP д�� on
CommandBufferSize 128           #���������
DirFakeUser On FTP              #����ʾ���û���ʵ���û�����
DirFakeGroup On FTP
DeferWelcome            on      #��ʾ��ӭ��Ϣ
PathDenyFilter  "(^.ftpaccess$)"       #ͬDenyFilter ������
User                    nobody          #proftpd ���ĸ��û���������������
Group                   nobody

TimesGMT off                            #ʱ��

<Limit LOGIN DELE RMD XRMD SITE RNFR RNTO WRITE>
DenyAll
</Limit>        #����ijЩ���ǣ���ʼ������������Ҫ�ٴ򿪡�READҲ�ɼӹ���...
                #Ҳ�������������������ӵ����� Login�����ߺ��棬�����÷���ǽ
<Limit ALL>
IgnoreHidden on
</Limit>

<Directory /*>
HideNoAccess on
AllowOverwrite          off     #��ֹ��д���ǣ�����������������
</Directory>                    #AllowRetrieveRestartĬ����on Ҳ����д����
</Global>

ServerName      "FTP server"
ServerType      standalone      #���з�ʽ �������� inetd xinetd
ServerIdent on "Welcome to FTP" #������֤ǰ��ʾ���û��ģ�Ҳ�����ļ���������
DefaultServer   on
UseReverseDNS   off     #�ӿ������ٶ�
Port            21      #FTP�˿�
Umask           022     #���� Ϊ�˱��ڹ��� �� 002
PassivePorts    20000   30000           #����ģʽ�˿ڶ�

SystemLog /var/proftpd/syslog   #log ע���Լ����� logrotate ����

MaxInstances            250             #����
TimeoutLogin            30              #������֤��ʱ
TimeoutIdle             120             #������ʱ
TimeoutNoTransfer       300             #�����ݴ��䳬ʱ
#TimeoutStalled         300

#logһЩ�Զ�����ʽ��������Ҫ����������Ĭ��
LogFormat myxfer "%h %u %t ""%r"" %s %b"
LogFormat default "%h %a %u %t ""%r"" %s %b $$ '%F'"
LogFormat auth    "%h %a %t ""%r"" %s"
LogFormat write   "%h %a %t ""%r"" %s %b"

#�����ĸ�Ŀ¼ �ǵ�������ӦĿ¼Ȩ�ޣ�ftp �û�Ӧ������ r x Ȩ��
<Anonymous /home/ftp>
  User                          ftp
  Group                         ftpadmin
  Umask                         002
  UserAlias                     anonymous ftp

  MaxClients 50 "����(%m)"      #�˶�ʱ����ʾ��Ϣ��������һЩ����
  #RateReadBPS 500000           #������
  MaxClientsPerHost 2 "��������"        #һ��IP��������
  TransferLog NONE              #log
  ExtendedLog /var/proftpd/upload.log write myxfer      #log
  ExtendedLog /var/proftpd/download.log read myxfer     #log

  DisplayLogin          etc/welcome             #��ӭ�ļ���������һЩ����
  DisplayFirstChdir     .message                #�ı�Ŀ¼ʱ��ʾ����Ϣ

AuthAliasOnly on        #ֻ���� UserAlias ���� ����ֻ���� anonymous ������ftp
<Limit LOGIN>
AllowAll
</Limit>                #�����������ӣ����������������ʵ����Σ���������ǽ

<Directory incoming>
  AllowStoreRestart on  #�����ϴ�Ŀ¼���������������ܸ���
  <Limit WRITE>
    AllowAll
  </Limit>              #�������������أ�ֻ������ ���Լ���
                        #<Limit READ>DenyAll</Limit>
</Directory>            #������������ˣ�ÿ��Ŀ¼����д .ftpaccess ����Ȩ��
                        #�������������Բο�������Ҫ

#��FTP��Ŀ¼�ֲ��ÿ��ģ������ѻ�ӭ��Ϣ�������ˣ���Ȼ���Էű���
<Directory etc>
  <Limit READ WRITE DIRS>
    DenyAll
  </Limit>
</Directory>
<Directory Tsinghua>    #�����ض�IP���ܿ��ģ�Ҳ����Ŀ¼��.ftpaccess��������
  <Limit ALL>
    Order deny,allow
    Allow from 166.111.
  </Limit>
</Directory>
</Anonymous>            #���������ľ�����

#���ʺ����������ö��ַ�ʽ�������ļ������ݿ���
#������ϵͳ���ʺţ������� DefaultRoot ���ƻĿ¼��������TA���ڼ��� ~
#���б��ĺܶ� ������Ҫ�Լ����ĵ��� ��������MultilineRFC2228��
#
#�ǵ�������ӦĿ¼Ȩ�ޣ�r x һ����������
#�ǵ������ļ�Ȩ��(chmod/chown) ���� .ftpaccess
#Ӧ���˽� ls rm chmod chown find xargs crontab �������Ա����м򵥹���
#kill/killall -HUP �����ýű� ftpshut ftpwho
#rm -f /etc/shutmsg
#��Ӧ�ĸ������߻��кܶ࣬Ҳ�����Լ�д�ű�
#��д�˺õ�С���߿��Թ�������
#zixia ͬѧд�˼��� ���� ftpipwho �Զ�������
#
#�����������㿴����ƪ�ĵ�������ʲô�������Լ���proftpd�������ĵ��㶨
#��һ�ο����ظ�������̫�࣬���������������õ��뷨����ʱд�˸�
#�д��󣬻�ӭ����ָ��,Ҳ��ӭ����һ��д ���� FAQ С���ɵ�
#

--
Contact Information:
        ***** ******* <[email protected]>
        +86-10-6277****
        **#*** Tsinghua University
        Beijing,  100084
        CN


�� ��Դ:·BBS ˮľ�廪վ smth.edu.cn·[FROM: 166.111.154.88] 
 

  • ת����ע����Դ��ITѧϰ�� ��ַ��http://www.t086.com/ �����������Ƽ�������
  • �ر������� ��վ�������ر�������ֹת�ص�ר�������������¿�������ת�أ���������ע��������ԭʼ���ߡ����°�Ȩ������ԭʼ�������С����ڱ���վת�����µĸ��˺���վ�����DZ�ʾ������л�⡣������վת�ص������а�Ȩ��������ϵ���ǣ����ǻᾡ�����Ը�����
  • ��
  • ��
  • ��
  • ��
  • ��
  • ��
  • ��
  • ��
  • ��
������ѯ Health Check Gulangyu
© 2017 T086ѧϰ�� - T086.com(ԭitlearner.com)
RunTime:17.08ms QueryTime:7