From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Maxim X-Mailer: The Bat! (v1.53d) Personal X-Priority: 3 (Normal) Message-ID: <132155603075.20010921100327@e-foto.ru> To: Dmitry Yuroff In-Reply-To: <3BAA1B68.D5A89710@mail.ru> References: <20010910151800.C403616FC@linux.ru.net> <3BAA1B68.D5A89710@mail.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Subject: [mdk-re] ProFTPD Sender: mandrake-russian-admin@altlinux.ru Errors-To: mandrake-russian-admin@altlinux.ru X-BeenThere: mandrake-russian@altlinux.ru X-Mailman-Version: 2.0 Precedence: bulk Reply-To: mandrake-russian@altlinux.ru X-Reply-To: Maxim List-Help: List-Post: List-Subscribe: , List-Id: Linux-Mandrake RE / ALT Linux discussion list List-Unsubscribe: , List-Archive: Date: Fri Sep 21 09:53:01 2001 X-Original-Date: Fri, 21 Sep 2001 10:03:27 +0400 Archived-At: List-Archive: List-Post: Здравствуйте, Dmitry. Вы писали 20 сентября 2001 г., 20:38:01: DY> Если кто нибудь имел дело с настройкой ProFTPD -1.2.1 подскажите пожалуйста как настроить. Вот мой DY> proftpd.conf сандартный который взял с официального сайта: DY> # This is a basic ProFTPD configuration file (rename it to DY> # 'proftpd.conf' for actual use. It establishes a single server DY> # and a single anonymous login. It assumes that you have a user/group DY> # "nobody" and "ftp" for normal operation and anon. DY> ServerName "ProFTPD Default Installation" DY> ServerType standalone DY> DefaultServer on DY> # Port 21 is the standard FTP port. DY> Port 21 DY> # Umask 022 is a good standard umask to prevent new dirs and files DY> # from being group and world writable. DY> Umask 022 DY> # To prevent DoS attacks, set the maximum number of child processes DY> # to 30. If you need to allow more than 30 concurrent connections DY> # at once, simply increase this value. Note that this ONLY works DY> # in standalone mode, in inetd mode you should use an inetd server DY> # that allows you to limit maximum number of processes per service DY> # (such as xinetd) DY> MaxInstances 30 DY> # Set the user and group that the server normally runs at. DY> User nobody DY> Group nogroup DY> # Normally, we want files to be overwriteable. DY> DY> AllowOverwrite on DY> DY> # A basic anonymous configuration, no upload directories. DY> DY> User ftp DY> Group ftp DY> # We want clients to be able to login with "anonymous" as well as "ftp" DY> UserAlias anonymous ftp DY> # Limit the maximum number of anonymous logins DY> MaxClients 10 DY> # We want 'welcome.msg' displayed at login, and '.message' displayed DY> # in each newly chdired directory. DY> DisplayLogin welcome.msg DY> DisplayFirstChdir .message DY> # Limit WRITE everywhere in the anonymous chroot DY> DY> DenyAll DY> DY> DY> он с ним нормально запускается, но когда пытаюсь прицепится к нему со своей же машины пишет: DY> 500 FTP Server shut down (Maintanance in progress) -- please try again later. Вроде все нормально. Только, обязательно запускать его как standalone? У меня черех xinetd отлично работает. Еще я вообще отключил то, что было там по умолчанию и настроил пару виртуальных серверов. И посмотрите в какую директорию вы попадаете при входе, может туда просто нет допуска. У меня вся проблема с начала была в этом. Ну еще и надо подточить напильником. Еще есть директива RequireValidShell. По умолчанию она установлена в on. Мне кажется там не все чисто с этой директивой. По крайней мере я ее в off перекинул. На всякий случай. А вообще скорее всего смотрите безопасность. Как правило в результате оказывается что или программа запускается под не тем юзером или вы входите под не тем. И куда то вам доступ запрещен, вот вас и вырубает. Но лучше всего закоментировать их настройки и попробовать сделать свои с нуля. Заодно и документацию почитаете. :) -- С уважением, Maxim mailto:max_conf@e-foto.ru