LINUX.ORG.RU
ФорумAdmin

ProfTPD


0

0

Хай всем.
Как узнать работает лив системе ProfTPD?
И почему не работает этот конфиг?


# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.

ServerName "ProFTPD"
ServerType standalone
ServerAdmin *@*.*
DeferWelcome off
DefaultServer on
IdentLookups off
DefaultRoot /var/ftp/pub

#TransferLog /var/log/ftp/xferlog
TransferLog /var/log/xferlog

# Port 21 is the standard FTP port.
Port 21

# If you don't want normal users logging in at all, uncomment this
# next section
<Limit LOGIN>
DenyAll
</Limit>

# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022

# Set the user and group that the server normally runs at.
User nobody
Group nogroup

tcpSendWindow 16384
tcpReceiveWindow 16384

TimeoutStalled 3600
MaxInstances 120
MaxClientsPerHost 100

## Normally, we want files to be overwriteable.
#<Directory />
# AllowOverwrite on
#</Directory>

<Directory />
AllowOverwrite off
</Directory>

# A basic anonymous configuration, no upload directories.
<Anonymous /var/ftp/pub>

# Allow logins if they are disabled above.
<Limit LOGIN>
AllowAll
</Limit>
User ftp
Group ftp
# We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp
RequireValidShell off

# Limit the maximum number of anonymous logins
MaxClients 20 "Sorry, max %m users -- try again later"

# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
DisplayLogin welcome.msg
DisplayFirstChdir .message

# Limit WRITE everywhere in the anonymous chroot
<Limit WRITE>
DenyAll
</Limit>

# An upload directory that allows storing files but not retrieving
# or creating directories.
<Directory /pub/readme.txt>
<Limit READ>
AllowAll
</Limit>
#!!!
<Limit WRITE>
AllowAll
</Limit>
</Directory>

<Directory incoming>

<Limit READ>
DenyAll
</Limit>

<Limit STOR>
AllowAll
</Limit>

</Directory>

</Anonymous>


<Anonymous /var/www/html>
User kc
Group kc
AnonRequirePassword on
RequireValidShell off

AllowOverwrite on

<Limit LOGIN>
Order allow,deny
Allow from localhost .*.*
AllowGroup kc
Deny from all
</Limit>

# We want all uploaded files to be owned by 'engdept' group and
# group writable.
GroupOwner kc
Umask 022

# Hide all files owned by user 'root'
## HideUser root

# Disallow clients from any access to hidden files.
## <Limit STOR MKD RMD RNFR RNTO DELE READ WRITE>

<Limit ALL>
AllowAll
IgnoreHidden on
</Limit>
</Anonymous>

anonymous
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.