|
![]() |
||
Como criar um servidor FTP no slack 9.1 ...
|
||
. Nós temos 759.317 usuários, convidamos você fazer parte de nossa comunidade também! Se ainda não encontrou o que procura use nossa pesquisa. Esperamos que aprecie nosso trabalho.
![]() |
|
|
Opções do Tópico |
|
|
#1 (permalink) |
|
Super Participante
|
Gostaria de habilitar um servidor FTP no meu slack 9.1, uso velox com ip dinâmico ... agluém poderia me dar uma ajuda ...
|
|
|
|
|
|
#2 (permalink) |
|
Super Participante
|
Procure na net, arquivos tutoriais sobre o ProFTPd.
|
|
|
|
|
|
#3 (permalink) |
|
Membro Senior
|
Caro amigo use o proftpd ele é muito bom.
Mas pegue a versão mais atual porque versões antigas estão cheia de falhas... www.proftpd.org Um abraço ...
__________________
Alexandre Gonçalves de Andrade Adm. Redes Linux Debian Security and Vulnerabilities Linux CCNA CISCO Guarulhos - SP |
|
|
|
|
|
#4 (permalink) |
|
Super Participante
|
Cara eu li alguns tutos, mas achei muito confuso .... não achei ele muito simples de configurar não ... até agora não consegui fazer um usuário para conectar no ftp ....
|
|
|
|
|
|
#5 (permalink) | |
|
Zumbi
|
Citação:
t+
__________________
http://teltech-life.blogspot.com/ |
|
|
|
|
|
|
#6 (permalink) |
|
Veterano
Registrado em: Jul 2001
Mensagens: 1.329
Reputação: 24
![]() |
Acho que não precisa configurar praticamente nada.. pelo menos aqui no Debian nao precisou.. foi só instalar e mandar bala..
Ele usa as contas do seu sistema mesmo para permitir o acesso. |
|
|
|
|
|
#7 (permalink) |
|
Super Participante
|
Bom depois de ficar tentando pelo shell, eu resolvi instalar o gFTP ... o que melhorou um pouco a coisa ... ele parece que aceita o usuário ... desde que eu ponha senha ... tentei o root com a sua senha e nada ... cadastrei todos os usuários que usam o pc no grupo FTP e nada ....
Me ajudem... |
|
|
|
|
|
#8 (permalink) |
|
Super Participante
|
alguém me poderia mandar um exemplo de um arquvo proftpf.conf ... me ensinando como cadastrar usuário e como botar o servidor para funcionar legal ... obrigado ...
|
|
|
|
|
|
#9 (permalink) | |
|
Zumbi
|
esse é oq uso aqui, basico e funciona muito bem, quanto adiconar user mais simples
adduser fulano pronto ja foi criada a conta do user com seu devido home /etc/proftpd/proftpd.conf Citação:
__________________
http://teltech-life.blogspot.com/ |
|
|
|
|
|
|
#10 (permalink) |
|
Super Participante
|
me responde outra coisa ... como sei que o proftpd tá rodando ... pois quando dou um killall proftpd .. ele iz que não tem processo para matar ...
|
|
|
|
|
|
#11 (permalink) |
|
Tô em todas
|
Dá um nmap localhost
Se tiver a porta 21 aberta é porque o danado tá rodando
__________________
Linux User #296837 Notebook HP TX2-1012NR PC: Core 2 Duo E7300 - 4GB DDR40 - Geforce 8600GT - Hd 320GB (sistema) - HD 500GB (dados) - Monitor LG W2252TQ 22'' Não respondo dúvidas técnicas por MP. |
|
|
|
|
|
#12 (permalink) |
|
Super Participante
|
Caras ... mesmo depois dessa ajuda toda ... ainda não roda ... ele dá isso:
Código:
|
|
|
|
|
|
#13 (permalink) | |
|
Zumbi
|
Citação:
mostra ai pra gente como esta seu /etc/inetd.conf
__________________
http://teltech-life.blogspot.com/ |
|
|
|
|
|
|
#14 (permalink) |
|
Super Participante
|
# See "man 8 inetd" for more information.
# # If you make changes to this file, either reboot your machine or send the # inetd a HUP signal: # Do a "ps x" as root and look up the pid of inetd. Then do a # "kill -HUP <pid of inetd>". # The inetd will re-read this file whenever it gets that signal. # # <service_name> <sock_type> <proto> <flags> <user> <server_path> <args> # # The first 4 services are really only used for debugging purposes, so # we comment them out since they can otherwise be used for some nasty # denial-of-service attacks. If you need them, uncomment them. # echo stream tcp nowait root internal # echo dgram udp wait root internal # discard stream tcp nowait root internal # discard dgram udp wait root internal # daytime stream tcp nowait root internal # daytime dgram udp wait root internal # chargen stream tcp nowait root internal # chargen dgram udp wait root internal time stream tcp nowait root internal time dgram udp wait root internal # # These are standard services: # # File Transfer Protocol (FTP) server: ftp stream tcp nowait root /usr/sbin/tcpd proftpd # # Telnet server: #telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd # # The comsat daemon notifies the user of new mail when biff is set to y: comsat dgram udp wait root /usr/sbin/tcpd in.comsat # # Shell, login, exec and talk are BSD protocols # #shell stream tcp nowait root /usr/sbin/tcpd in.rshd -L #login stream tcp nowait root /usr/sbin/tcpd in.rlogind # exec stream tcp nowait root /usr/sbin/tcpd in.rexecd # talk dgram udp wait root /usr/sbin/tcpd in.talkd ntalk dgram udp wait root /usr/sbin/tcpd in.talkd # # To use the talk daemons from KDE, comment the talk and ntalk lines above # and uncomment the ones below: # talk dgram udp wait root /usr/sbin/tcpd /opt/kde/bin/kotalkd # ntalk dgram udp wait root /usr/sbin/tcpd /opt/kde/bin/ktalkd # # Kerberos authenticated services # # klogin stream tcp nowait root /usr/sbin/tcpd rlogind -k # eklogin stream tcp nowait root /usr/sbin/tcpd rlogind -k -x # kshell stream tcp nowait root /usr/sbin/tcpd rshd -k # # Services run ONLY on the Kerberos server # # krbupdate stream tcp nowait root /usr/sbin/tcpd registerd # kpasswd stream tcp nowait root /usr/sbin/tcpd kpasswdd # # POP and IMAP mail servers # # Post Office Protocol version 3 (POP3) server: #pop3 stream tcp nowait root /usr/sbin/tcpd /usr/sbin/popa3d # Internet Message Access Protocol (IMAP) server: #imap2 stream tcp nowait root /usr/sbin/tcpd imapd # # The Internet Unix to Unix copy (UUCP) service: # uucp stream tcp nowait uucp /usr/sbin/tcpd /usr/lib/uucp/uucico -l # # Tftp service is provided primarily for booting. Most sites # run this only on machines acting as "boot servers." # tftp dgram udp wait nobody /usr/sbin/tcpd in.tftpd # bootps dgram udp wait root /usr/sbin/bootpd bootpd # # Finger, systat and netstat give out user information which may be # valuable to potential "system crackers." Many sites choose to disable # some or all of these services to improve security. # Try "telnet localhost systat" and "telnet localhost netstat" to see that # information yourself! finger stream tcp nowait nobody /usr/sbin/tcpd in.fingerd -u # systat stream tcp nowait nobody /usr/sbin/tcpd /bin/ps -auwwx # netstat stream tcp nowait root /usr/sbin/tcpd /bin/netstat -a # # Ident service is used for net authentication # Since we start identd as nobody, it can't write a .pid file in /var/run, so tell it # to use /dev/null. This is of little importance unless you run identd as a # standalone daemon anyway. auth stream tcp wait nobody /usr/sbin/in.identd in.identd -P/dev/null # # These are to start Samba, an smb server that can export filesystems to # Pathworks, Lanmanager for DOS, Windows for Workgroups, Windows95, Lanmanager # for Windows, Lanmanager for OS/2, Windows NT, etc. # If you're running smbd and nmbd as daemons in /etc/rc.d/rc.samba, then you # shouldn't uncomment these lines. #netbios-ssn stream tcp nowait root /usr/sbin/smbd smbd #netbios-ns dgram udp wait root /usr/sbin/nmbd nmbd # #Samba Web Administration Tool: #swat stream tcp nowait.400 root /usr/sbin/swat swat # # Sun-RPC based services. # <service name/version><sock_type><rpc/prot><flags><user><server><args> # rstatd/1-3 dgram rpc/udp wait root /usr/sbin/tcpd rpc.rstatd # rusersd/2-3 dgram rpc/udp wait root /usr/sbin/tcpd rpc.rusersd # walld/1 dgram rpc/udp wait root /usr/sbin/tcpd rpc.rwalld # # End of inetd.conf. |
|
|
|
|
|
#15 (permalink) |
|
Super Participante
|
depois de rodar o comando proftpd
: root@slackwar:~# ps -A PID TTY TIME CMD 1 ? 00:00:04 init 2 ? 00:00:00 migration/0 3 ? 00:00:00 ksoftirqd/0 4 ? 00:00:00 events/0 5 ? 00:00:00 kblockd/0 6 ? 00:00:00 khubd 7 ? 00:00:00 pdflush 8 ? 00:00:01 pdflush 9 ? 00:00:00 kswapd0 10 ? 00:00:00 aio/0 11 ? 00:00:00 scsi_eh_0 12 ? 00:00:00 kseriod 13 ? 00:00:00 reiserfs/0 348 ? 00:00:00 syslogd 351 ? 00:00:00 klogd 354 ? 00:00:00 inetd 363 ? 00:00:00 crond 365 ? 00:00:00 atd 369 ? 00:00:00 acpid 388 ? 00:00:00 gpm 390 tty6 00:00:00 agetty 391 ? 00:00:00 kdm 393 ? 00:05:37 X 394 ? 00:00:00 kdm 408 ? 00:00:00 startkde 457 ? 00:00:00 kdeinit 460 ? 00:00:00 kdeinit 463 ? 00:00:00 kdeinit 465 ? 00:00:01 kdeinit 488 ? 00:00:10 artsd 490 ? 00:00:00 kdeinit 491 ? 00:00:00 kwrapper 493 ? 00:00:00 kdeinit 494 ? 00:00:15 kdeinit 496 ? 00:00:00 kdeinit 498 ? 00:00:03 kdeinit 501 ? 00:00:24 kdeinit 506 ? 00:00:00 kdeinit 508 ? 00:00:00 kalarmd 510 ? 00:00:00 kdeinit 517 ? 00:00:11 sim 2141 ? 00:00:00 in.identd 11996 ? 00:00:00 kdeinit 12658 ? 00:00:00 run-mozilla.sh 12664 ? 00:01:14 mozilla-bin 12745 ? 00:00:00 kdeinit 12769 ? 00:00:00 netstat <defunct> 15733 ? 00:00:00 kdeinit 15734 pts/1 00:00:00 bash 15756 pts/1 00:00:00 ps |
|
|
|
|
|
#16 (permalink) | |
|
Zumbi
|
Citação:
__________________
http://teltech-life.blogspot.com/ |
|
|
|
|
|
|
#17 (permalink) |
|
Super Participante
|
ok, mas como está o arquivo proftpd.conf .... me ajude a fazê-lo funcionar ..
Muito obrigado a todos pela perseverança .... :wink: |
|
|
|
|
|
#18 (permalink) | |
|
Tô em todas
|
Citação:
no mandrake o serviço pode ser configurado com um front end gráfico
__________________
Mestre Jedi Linux icq 233383306 Messenger tuxcity@hotmail.com |
|
|
|
|
|
|
#19 (permalink) |
|
Super Participante
|
eu achei um tal de Kproftpd .... um front-end para o proftpd ... só que na hora de compilar tá dando isso aqui ó :
Código:
|
|
|
|
|
|
#20 (permalink) |
|
GeeK
Registrado em: Mar 2003
Mensagens: 2.236
Reputação: 21
![]() |
O padrão é negar ao root o acesso ao ftp.
O arquivo /etc/ftpusers contém todos os usuários que não podem acessar o ftp.Se quiser acessar com o root tem que tirar ele de lá. ( não é boa idéia). A melhor forma de configurar é "na mão" mesmo.No site do projeto tem a melhor documentação que eu conheço. ---> www.proftpd.org No site do Conectiva tem um bom tutorial também.
__________________
Gentoo Linux 2.6.27 KDE 4.1.96 |
|
|
|
![]() |
| Opções do Tópico | |
|
|