فهرست منبع

ProFTPD support for Debian and Ubuntu

Serghey Rodin 12 سال پیش
والد
کامیت
d8d4e732b3
2فایلهای تغییر یافته به همراه54 افزوده شده و 0 حذف شده
  1. 27 0
      install/debian/proftpd.conf
  2. 27 0
      install/ubuntu/proftpd.conf

+ 27 - 0
install/debian/proftpd.conf

@@ -0,0 +1,27 @@
+LoadModule                      mod_vroot.c
+ServerName                      "FTP"
+ServerIdent                     on "FTP Server ready."
+ServerAdmin                     root@localhost
+DefaultServer                   on
+VRootEngine                     on
+DefaultRoot                     ~ !adm
+AuthPAMConfig                   proftpd
+AuthOrder                       mod_auth_pam.c* mod_auth_unix.c
+UseReverseDNS                   off
+User                            proftpd
+Group                           nogroup
+MaxInstances                    20
+UseSendfile                     off
+LogFormat                       default "%h %l %u %t \"%r\" %s %b"
+LogFormat                       auth    "%v [%P] %h %t \"%r\" %s"
+ListOptions                     -a
+RequireValidShell               off
+
+<Global>
+  Umask                         002
+  IdentLookups                  off
+  AllowOverwrite                yes
+  <Limit ALL SITE_CHMOD>
+    AllowAll
+  </Limit>
+</Global>

+ 27 - 0
install/ubuntu/proftpd.conf

@@ -0,0 +1,27 @@
+LoadModule                      mod_vroot.c
+ServerName                      "FTP"
+ServerIdent                     on "FTP Server ready."
+ServerAdmin                     root@localhost
+DefaultServer                   on
+VRootEngine                     on
+DefaultRoot                     ~ !adm
+AuthPAMConfig                   proftpd
+AuthOrder                       mod_auth_pam.c* mod_auth_unix.c
+UseReverseDNS                   off
+User                            proftpd
+Group                           nogroup
+MaxInstances                    20
+UseSendfile                     off
+LogFormat                       default "%h %l %u %t \"%r\" %s %b"
+LogFormat                       auth    "%v [%P] %h %t \"%r\" %s"
+ListOptions                     -a
+RequireValidShell               off
+
+<Global>
+  Umask                         002
+  IdentLookups                  off
+  AllowOverwrite                yes
+  <Limit ALL SITE_CHMOD>
+    AllowAll
+  </Limit>
+</Global>