[Ubuntu-BR] Servidor de FTP com o ProFTPd
Lucas Salies Brum
sistematico em gmail.com
Sexta Maio 23 16:23:29 UTC 2008
Já tentei assim tambem, mas vou tentar dinovo!
--------------------------------------------------------------------
ServerName "FTP Server"
ServerIdent on "FTP Server ready."
ServerAdmin root em localhost
ServerType standalone
#ServerType inetd
DefaultServer yes
AccessGrantMsg "User %u logged in."
#DisplayConnect /etc/ftpissue
#DisplayLogin /etc/ftpmotd
#DisplayGoAway /etc/ftpgoaway
SystemLog /var/log/proftpd/proftpd.log
TransferLog /var/log/proftpd/xferlog
MaxInstances 30
DeferWelcome off
DefaultRoot ~
Port 21
Umask 022
ListOptions "-a"
AllowRetrieveRestart on
AllowStoreRestart on
ScoreboardFile /var/run/proftpd.score
LogFormat default "%h %l %u %t \"%r\" %s %b"
<Anonymous /home/ftp/>
User ftp
Group ftp
AnonRequirePassword off
MaxClients 5 "The server is full, hosting %m users"
DisplayLogin welcome.msg
<Limit LOGIN>
Allow from all
Deny from all
</Limit>
<Limit LIST NLST RETR MTDM PWD XPWD SIZE STAT CWD XCWD >
AllowAll
</Limit>
<Limit STOR STOU APPE RNFR RNTO DELE MKD XMKD SITE_MKDIR RMD XRMD
SITE_RMDIR SITE SITE_CHMOD SITE_CHGRP CDUP XCUP >
DenyAll
</Limit>
</Anonymous>
--------------------------------------------------------------------
Olha aí como ficou lá!
O usuário da pasta é ftp, devo mudar para anonymous ou nobody?
Salvei o arquivo /etc/proftpd/proftpd.conf e reiniciei o FTP:
root em sistematico:/home/lucas# /etc/init.d/proftpd restart
* Stopping ftp server proftpd [
OK ]
* Starting ftp server proftpd [
OK ]
2008/5/23 Fabio Fraga Machado <fraga.fabio em gmail.com>:
> Boa tarde.
>
> Me diga uma coisa:
> O acesso anônimo está configurado?
>
> Veja:
> DefaultRoot ~
> Ele vai pro home do usuário.
> Então, você terá que autenticar-se.
> Configure a última parte do arquivo do Proftpd que trata sobre login
> anônimo
> e depois retorne para nós.
>
>
> Abraços,
>
> Fabio
>
> 2008/5/23 Lucas Salies Brum <sistematico em gmail.com>:
>
> > Só um adendo, se eu acessar assim: ftp://ftp@lsbrum.no-ip.org ou
> > ftp://ftp:ftp@lsbrum.no-ip.org ou seja, especificando o usuário e senha,
> > funciona normal!
> > Já assim ftp://lsbrum.no-ip.org não funciona! Aparece o FTP mas nada é
> > listado.
> >
> > Eu tenho testado no Firefox.
> >
> > 2008/5/23 Lucas Salies Brum <sistematico em gmail.com>:
> >
> > > Pessoal, estou tendo um ENORME problema com meu FTP, eu uso o Ubuntu
> 8.04
> > -
> > > Destop - 64 bits.
> > > Minha internet é via ADSL da BrT e tenho instalado o ProFTPd.
> > >
> > > O problema é o seguinte, quanto eu tento assim ftp://localhost ou
> > > ftp://sistematico ou ainda ftp://127.0.0.1 tudo funciona perfeito até
> > > demais, só que quando tento assim: ftp://lsbrum.no-ip.org não dá!
> > >
> > > Se alguem puder testar aí, eu agradeço muito!!
> > > O login é ftp e a senha é ftp.
> > >
> > > Olha o meu proftpd.conf
> > > ----------------------------------------------------------
> > > ServerName "FTP Server"
> > > ServerIdent on "FTP Server ready."
> > > ServerAdmin root em localhost
> > > ServerType standalone
> > > #ServerType inetd
> > > DefaultServer yes
> > > AccessGrantMsg "User %u logged in."
> > > #DisplayConnect /etc/ftpissue
> > > #DisplayLogin /etc/ftpmotd
> > > #DisplayGoAway /etc/ftpgoaway
> > > SystemLog /var/log/proftpd/proftpd.log
> > > TransferLog /var/log/proftpd/xferlog
> > > MaxInstances 30
> > > DeferWelcome off
> > > DefaultRoot ~
> > > Port 21
> > > Umask 022
> > > ListOptions "-a"
> > > AllowRetrieveRestart on
> > > AllowStoreRestart on
> > > ScoreboardFile /var/run/proftpd.score
> > > LogFormat default "%h %l %u %t \"%r\" %s %b"
> > > ----------------------------------------------------------
> > >
> > > O meu /etc/hosts
> > > ----------------------------------------------------------
> > > 127.0.0.1 localhost
> > > 127.0.1.1 sistematico
> > > 127.0.0.1 lsbrum.no-ip.org
> > >
> > > # The following lines are desirable for IPv6 capable hosts
> > > ::1 ip6-localhost ip6-loopback
> > > fe00::0 ip6-localnet
> > > ff00::0 ip6-mcastprefix
> > > ff02::1 ip6-allnodes
> > > ff02::2 ip6-allrouters
> > > ff02::3 ip6-allhosts
> > > ----------------------------------------------------------
> > >
> > --
> > Interessado em aprender mais sobre o Ubuntu em português?
> > http://wiki.ubuntu-br.org/ComeceAqui -
> > ubuntu-br mailing list
> > ubuntu-br em lists.ubuntu.com
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-br
> >
> --
> Interessado em aprender mais sobre o Ubuntu em português?
> http://wiki.ubuntu-br.org/ComeceAqui -
> ubuntu-br mailing list
> ubuntu-br em lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-br
>
More information about the ubuntu-br
mailing list