ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Maxim <max_conf@e-foto.ru>
To: Dmitry Yuroff <mandrake-russian@altlinux.ru>
Subject: [mdk-re] ProFTPD
Date: Fri Sep 21 09:53:01 2001
Message-ID: <132155603075.20010921100327@e-foto.ru> (raw)
In-Reply-To: <3BAA1B68.D5A89710@mail.ru>

Здравствуйте, 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> <Directory /*>
DY>   AllowOverwrite                on
DY> </Directory>

DY> # A basic anonymous configuration, no upload directories.
DY> <Anonymous ~ftp>
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>   <Limit WRITE>
DY>     DenyAll
DY>   </Limit>

DY> </Anonymous>

DY> он с ним нормально запускается, но когда пытаюсь прицепится к нему со своей же машины пишет:

DY> 500 FTP Server shut down (Maintanance in progress)  -- please try again later.

Вроде все нормально.
Только, обязательно запускать его как standalone?
У меня черех xinetd отлично работает.
Еще  я вообще отключил то, что было там по умолчанию и настроил пару виртуальных
серверов.
И  посмотрите  в  какую директорию вы попадаете при входе, может туда просто нет
допуска.  У меня вся проблема с начала была в этом. Ну еще <Directory> и <Limit>
надо подточить напильником.
Еще  есть  директива  RequireValidShell.  По умолчанию она установлена в on. Мне
кажется  там  не  все  чисто  с  этой  директивой.  По  крайней  мере я ее в off
перекинул.  На  всякий  случай. А вообще скорее всего смотрите безопасность. Как
правило в результате оказывается что или программа запускается под не тем юзером
или вы входите под не тем. И куда то вам доступ запрещен, вот вас и вырубает.
Но  лучше  всего закоментировать их настройки и попробовать сделать свои с нуля.
Заодно и документацию почитаете. :)

-- 
С уважением,
 Maxim                          mailto:max_conf@e-foto.ru




  parent reply	other threads:[~2001-09-21  9:53 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-21  0:18 ` Dmitry Yuroff
2001-09-21  6:43   ` Russu V.F.
2001-09-21  7:43   ` Kostya Timoshenko
2001-09-21  9:53   ` Maxim [this message]
2001-09-21 10:01     ` [mdk-re] ProFTPD Again Vlad Drakula
2001-09-21 10:24       ` Kostya Timoshenko
2001-09-21 10:43         ` [mdk-re] 3 штуки samba!!! Kak прибить 2 ?? Serg
2001-09-21 11:08           ` artem
2001-09-21 22:13             ` Yura Gusev
2001-09-21 11:51           ` Artem K. Jouravsky
2001-09-21 12:23             ` [mdk-re] Re[2]: " Serg
2001-09-21 12:33               ` Vyt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=132155603075.20010921100327@e-foto.ru \
    --to=max_conf@e-foto.ru \
    --cc=mandrake-russian@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git