Portál AbcLinuxu, 30. prosince 2025 10:40
ServerName "Debian"
ServerType standalone
DeferWelcome off
# vypise v pripade neuspesneho zalogovani zpravu v zavorkach
AccessDenyMsg "To bylo neuspesne prihlaseni "
# vypise po startu FTP zpravu v zavorkach
AccessGrantMsg "Nazdar Vitam Te"
ShowSymlinks on
MultilineRFC2228 on
DefaultServer on
ShowSymlinks on
AllowOverwrite on
TimeoutLogin 120
TimeoutNoTransfer 600
TimeoutStalled 3600
TimeoutIdle 1200
DisplayLogin welcome.msg
DisplayFirstChdir .message
LsDefaultOptions "-l"
DenyFilter \*.*/
# Uncomment this if you are using NIS or LDAP to retrieve passwords:
#PersistentPasswd off
# Port 21 is the standard FTP port.
Port 21
# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd)
MaxInstances 30
# Set the user and group that the server normally runs at.
User nobody
Group nogroup
DefaultRoot ~
UseReverseDNS off
IdentLookups off
# Normally, we want files to be overwriteable.
(Directory /usr)
# Umask 022 is a good standard umask to prevent new files and dirs
# (second parm) from being group and world writable.
Umask 022 022
(Limit WRITE)
AllowAll
(/Limit)
AllowOverwrite on
(/Directory)
# nasledujici uzivatele budou povoleni,ostatni zakazani
(Limit LOGIN)
AllowUser ftpjohny
AllowUser sid
AllowUser george
DenyAll
(/Limit)
(Anonymous /home/ftpjohny)
User ftpjohny
Group ftpjohny
UserAlias anonymous ftpjohny
RequireValidShell off
AnonRequirePassword off
Umask 027
(Limit Login)
AllowAll
(/Limit)
(/Anonymous)
(VirtualHost 192.168.0.5)
ServerName "virtual server"
Umask 027
MaxLoginAttempts 2
RequireValidShell no
MaxClients 50
DefaultRoot /www
(Limit LOGIN)
AllowAll
(/Limit)
(/VirtualHost)
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.