Репозиторий ALT Linux backports/2.4
Последнее обновление: 9 июля 2008 | Пакетов: 497 | Посещений: 1583344
 поиск   регистрация   авторизация 
 
Группа :: Система/Серверы
Пакет: proftpd

 Главная   Изменения   Спек   Патчи   Загрузить   Bugs and FR 

Патч: proftpd-conf.patch


diff -Nur proftpd-1.2.10.orig/sample-configurations/basic.conf proftpd-1.2.10/sample-configurations/basic.conf
--- proftpd-1.2.10.orig/sample-configurations/basic.conf	2004-12-14 14:42:39 +0500
+++ proftpd-1.2.10/sample-configurations/basic.conf	2004-12-14 15:12:42 +0500
@@ -4,7 +4,7 @@
 # "nobody" and "ftp" for normal operation and anon.
 
 ServerName			"ProFTPD Default Installation"
-ServerType			standalone
+ServerType			inetd
 DefaultServer			on
 
 # Port 21 is the standard FTP port.
@@ -24,7 +24,7 @@
 
 # Set the user and group under which the server will run.
 User				nobody
-Group				nogroup
+Group				nobody
 
 # To cause every FTP user to be "jailed" (chrooted) into their home
 # directory, uncomment this line.
@@ -38,11 +38,21 @@
   DenyAll
 </Limit>
 
+# Allow FTP resuming.
+# Remember to set to off if you have an incoming ftp for upload.
+AllowStoreRestart              on
+
+# local <-> remote charset conversion
+#CharsetLocal KOI8R
+#CharsetRemote WINDOWS-1251
+
 # A basic anonymous configuration, no upload directories.  If you do not
 # want anonymous users, simply delete this entire <Anonymous> section.
 <Anonymous ~ftp>
   User				ftp
   Group				ftp
+  
+  RequireValidShell		off
 
   # We want clients to be able to login with "anonymous" as well as "ftp"
   UserAlias			anonymous ftp
@@ -54,9 +64,15 @@
   # in each newly chdired directory.
   DisplayLogin			welcome.msg
   DisplayFirstChdir		.message
-
+  
   # Limit WRITE everywhere in the anonymous chroot
   <Limit WRITE>
     DenyAll
   </Limit>
+
+  # Limit LOGIN for anonymous login
+  <Limit LOGIN>
+    DenyAll
+  </Limit>
+
 </Anonymous>
 
design & coding: Vladimir Lettiev aka crux © 2004-2005