Duvidas sobre VirtualHost no proftpd

1. Duvidas sobre VirtualHost no proftpd

Ayrton Silva
ayrtonsenna2017

(usa Outra)

Enviado em 09/06/2017 - 22:00h


Como faço para criar um VirtualHost anonymous no proftpd com acesso livre?


  


2. Re: Duvidas sobre VirtualHost no proftpd

Ayrton Silva
ayrtonsenna2017

(usa Outra)

Enviado em 09/06/2017 - 22:04h

ayrtonsenna2017 escreveu:


Como faço para criar um VirtualHost anonymous no proftpd com acesso livre?

Fez dessa forma, mais fica pedindo autenticação.

#
# /etc/proftpd/proftpd.conf -- This is a basic ProFTPD configuration file.
# To really apply changes, reload proftpd after modifications, if
# it runs in daemon mode. It is not required in inetd/xinetd mode.
#

# Includes DSO modules
Include /etc/proftpd/modules.conf

# Set off to disable IPv6 support which is annoying on IPv4 only boxes.
UseIPv6 on
# If set on you can experience a longer connection delay in many cases.
IdentLookups off

ServerName "Debian"
ServerType standalone
DeferWelcome off
RequireValidShell off
MultilineRFC2228 on
DefaultServer on
ShowSymlinks on

TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200

DisplayLogin welcome.msg
DisplayChdir .message true
ListOptions "-l"

DenyFilter \*.*/

# Use this to jail all users in their homes
# DefaultRoot /srv/ftp

# Users require a valid shell listed in /etc/shells to login.
# Use this directive to release that constrain.
#RequireValidShell off

# Port 21 is the standard FTP port.
Port 21





<VirtualHost linux>

<Limit LOGIN>

AllowAll

</Limit>

<Anonymous /srv/ftp >

User ftp
AnonRequirePassword off
Group nogroup
# # We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp
# # Cosmetic changes, all files belongs to ftp user
#DirFakeUser on ftp
#DirFakeGroup on ftp
#
RequireValidShell off
#
# # Limit the maximum number of anonymous logins
MaxClients 10
#
# # We want 'welcome.msg' displayed at login, and '.message' displayed
# # in each newly chdired directory.
DisplayLogin welcome.msg
DisplayChdir .message

<Limit LOGIN>

AllowAll

</Limit>

<Directory /srv/ftp >
<Limit WRITE>
DenyAll
</Limit>
</Directory>
#
# # Uncomment this if you're brave.
<Directory /svr/ftp>
# # # 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 READ WRITE>
DenyAll
</Limit>
<Limit STOR>
AllowAll
</Limit>
</Directory>



</Anonymous>
</VirtualHost>



# Include other custom configuration files
Include /etc/proftpd/conf.d/







Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts