Ftp (Proftp)
Configuração básica de Ftp
Categoria: Ftp
Software: Ftp
[ Hits: 26.303 ]
Por: Jefferson Araujo
Aqui segue um exemplo bem facil de configurar o Proft, um dos mais usados servidor de ftp pela comunidade Linux.
# ProFTPD Configuration # # Configurao do ProFTPD # ServerName "ProFTPD - Default Instalation" #ServerName "ProFTPD - Instalao Default" ServerType standalone DefaultServer on ScoreboardPath /var/run DeferWelcome on ServerAdmin root@localhost SyslogFacility AUTH # Port 21 (ftp standard) is used in case of standalone more # # Utiliza-se o port 21 (padro ftp) no caso de funcionamento standalone # Port 21 # Umask 022 is a good default value to prevent new directories and # files from being writable by the group or by other users # # Umask 022 um bom padro para prevenir que novos diretrios e # arquivos sejam gravveis pelo grupo ou outros usurios # Umask 022 # To prevent DoS attacks, the max number of instances is limited to 30. # If one wants to allow more then 30 simultaneous connectionva, just # increment this value. This directive only applies if running in standalone # mode # # Para previnir ataques do tipo DoS, limita-se o numero de instncias # 30. Caso se queira permitir mais de 30 conexes simultneas, simplesmente # aumenta-se este valor. Esta diretiva s se aplica ao funcionamento # standalone MaxInstances 30 # # This option, if enabled, will make the users unable to access anything # outside their home directory tree. READ THE DOCS! # # Esta opo, se habilitada, faz com que os usurios no consegam acessar nada # fora da sua arvore do diretrio home. LEIA A DOCUMENTAO! # # DefaultRoot ~ !root # # User and Group the server will run as # # Usurio e grupo para o servidor # User nobody Group nobody <Directory /*> AllowOverwrite no </Directory> # Default configuration for anonymous ftp, without an incoming directory. # To activate, just uncomment it. # # Configurao bsica para ftp annimo, sem diretrio para recepo # de arquivos # Para ativar, descomentar. # <Anonymous /var/ftp/default> User ftp Group ftp DirFakeUser on DirFakeGroup on # ## ## This option will enable the ftp user without it having to have it's shell ## listed on the /etc/shells file ## ## Esta opo habilita o usurio ftp sem que mesmo precise ter sua shell listada ## no arquivo /etc/shells ## # RequireValidShell off # # ftp = anonymous UserAlias anonymous ftp # # # max anonymous logins at one time. # # Uncomment one. # # # # nmero mximo de logins annimos # # Descomente um. # MaxClients 30 "Nmero mximo de clientes, tente mais tarde." # MaxClients 30 "No more clients allowed at this time. Try again latter." # # # No more then 2 connections per client # # Uncomment one. # # # # No mximo duas conexes por cliente # # Descomente um. # MaxClientsPerHost 2 "Voc j est com muitas conexes simultneas." # MaxClientsPerHost 2 "Too many simultaneous connections from your host." # # # welcome.msg is showed uppong connetiona, and .message at each directory # # accessed # # # # welcome.msg mostrado na conexo e .message mostrado para cada # # diretrio acessado. # # # DisplayLogin welcome.msg # DisplayFirstChdir .message # AccessGrantMsg "Acesso annimo aceito para %u." # AccessGrantMsg "Anonymous access granted for %u." # # # Write is denied on the anonymous chroot # # # # Limite gravao no chroot annimo # # <Limit WRITE> DenyAll </Limit> # </Anonymous>
Servidor de Backup com Ubuntu Server 24.04 LTS, RAID e Duplicati (Dell PowerEdge T420)
Visualizar câmeras IP ONVIF no Linux sem necessidade de instalar aplicativos
Atualizar Debian Online de uma Versão para outra
Instalar driver Nvidia no Debian 13
Redimensionando, espelhando, convertendo e rotacionando imagens com script
Debian 13 Trixie para Iniciantes
Convertendo pacotes DEB que usam ZSTD (Padrão Novo) para XZ (Padrão Antigo)