netstat -tln?<div>fuser -v 23/tcp?</div><div>ps -elf | egrep -i "(telnet|xinet)"?<br><br><div class="gmail_quote">2011/5/26 Thiago Gomes <span dir="ltr"><<a href="mailto:thiagomespb@gmail.com">thiagomespb@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">/etc/rc.d/init.d/xinetd start<br>
Starting xinetd: [ OK ]<br>
<div class="im"># telnet localhost<br>
Trying 127.0.0.1...<br>
telnet: connect to address <a href="http://127.0.0.1" target="_blank">127.0.0.1</a>: Connection refused<br>
telnet: Unable to connect to remote host: Connection refused<br>
</div># chkconfig telnet on<br>
<div class="im"># telnet localhost<br>
Trying 127.0.0.1...<br>
telnet: connect to address <a href="http://127.0.0.1" target="_blank">127.0.0.1</a>: Connection refused<br>
telnet: Unable to connect to remote host: Connection refused<br>
<br>
</div># /etc/rc.d/init.d/xinetd restart<br>
Stopping xinetd: [FAILED]<br>
Starting xinetd:<br>
<br>
# sestatus<br>
SELinux status: disabled<br>
<br>
<br>
Em 26 de maio de 2011 15:05, Luiz Henrique Borges<br>
<div><div></div><div class="h5"><<a href="mailto:lhsborges@gmail.com">lhsborges@gmail.com</a>> escreveu:<br>
> É isso ai. Me esqueci desse detalhe!<br>
><br>
> Em 26 de maio de 2011 15:02, Lucas Timm LH <<a href="mailto:linuxhelper@gmail.com">linuxhelper@gmail.com</a>> escreveu:<br>
>><br>
>> Precisa sim, o telnet-server é componente do Xinetd. Vai dizer que você<br>
>> sai instalando coisas a esmo sem ler a descrição do pacote? Dá um yum info<br>
>> telne-server...<br>
>> 2011/5/26 Thiago Gomes <<a href="mailto:thiagomespb@gmail.com">thiagomespb@gmail.com</a>><br>
>>><br>
>>> nao precisa instalar o telnet-server ? como então eu removo ?<br>
>>><br>
>>> 2011/5/26 Lucas Timm LH <<a href="mailto:linuxhelper@gmail.com">linuxhelper@gmail.com</a>>:<br>
>>> > @Thiago Gomes<br>
>>> > O servidor telnet roda dentro do xinet server. Assim o controle do<br>
>>> > serviço é<br>
>>> > feito pelo daemon xinetd.<br>
>>> ><br>
>>> > 2011/5/26 Lucas Timm LH <<a href="mailto:linuxhelper@gmail.com">linuxhelper@gmail.com</a>><br>
>>> >><br>
>>> >> service xinetd restart? Olha o iptables também. Aqui na empresa eu<br>
>>> >> tenho o<br>
>>> >> telnet-server rodando no servidor principal, funciona muito bem.<br>
>>> >> [root@rhel01 etc]# uptime<br>
>>> >> 14:53:11 up 54 days, 7:58, 538 users, load average: 0.86, 0.61,<br>
>>> >> 0.45<br>
>>> >> [root@rhel01 etc]#<br>
>>> >> [root@rhel01 etc]# cat /etc/xinetd.d/telnet<br>
>>> >> # default: on<br>
>>> >> # description: The telnet server serves telnet sessions; it uses \<br>
>>> >> # unencrypted username/password pairs for authentication.<br>
>>> >> service telnet<br>
>>> >> {<br>
>>> >> flags = REUSE<br>
>>> >> socket_type = stream<br>
>>> >> wait = no<br>
>>> >> user = root<br>
>>> >> server = /usr/sbin/in.telnetd<br>
>>> >> log_on_failure += USERID<br>
>>> >> disable = no<br>
>>> >> }<br>
>>> >> [root@rhel01 etc]#<br>
>>> >><br>
>>> >><br>
>>> >><br>
>>> >> 2011/5/26 Thiago Gomes <<a href="mailto:thiagomespb@gmail.com">thiagomespb@gmail.com</a>><br>
>>> >>><br>
>>> >>> veja isso<br>
>>> >>><br>
>>> >>> service telnet start<br>
>>> >>> telnet: unrecognized service<br>
>>> >>> # yum install telnet-server<br>
>>> >>> Loaded plugins: fastestmirror<br>
>>> >>> Loading mirror speeds from cached hostfile<br>
>>> >>> * addons: <a href="http://centos.argohost.net" target="_blank">centos.argohost.net</a><br>
>>> >>> * base: <a href="http://centos.argohost.net" target="_blank">centos.argohost.net</a><br>
>>> >>> * extras: <a href="http://centos.argohost.net" target="_blank">centos.argohost.net</a><br>
>>> >>> * rpmforge: <a href="http://fr2.rpmfind.net" target="_blank">fr2.rpmfind.net</a><br>
>>> >>> * updates: <a href="http://centos.argohost.net" target="_blank">centos.argohost.net</a><br>
>>> >>> Excluding Packages in global exclude list<br>
>>> >>> Finished<br>
>>> >>> Setting up Install Process<br>
>>> >>> Package 1:telnet-server-0.17-39.el5.i386 already installed and latest<br>
>>> >>> version<br>
>>> >>> Nothing to do<br>
>>> >>><br>
>>> >>> estranho... o telnet-server esta instalado<br>
>>> >>><br>
>>> >>><br>
>>> >>> Em 26 de maio de 2011 14:32, Luiz Henrique Borges<br>
>>> >>> <<a href="mailto:lhsborges@gmail.com">lhsborges@gmail.com</a>> escreveu:<br>
>>> >>> > service telnet status<br>
>>> >>> ><br>
>>> >>> > Me parece que o serviço não está rodando!!!<br>
>>> >>> ><br>
>>> >>> > Em 26 de maio de 2011 14:24, Thiago Gomes <<a href="mailto:thiagomespb@gmail.com">thiagomespb@gmail.com</a>><br>
>>> >>> > escreveu:<br>
>>> >>> >><br>
>>> >>> >> nada..<br>
>>> >>> >><br>
>>> >>> >><br>
>>> >>> >> Em 26 de maio de 2011 14:13, Luiz Henrique Borges<br>
>>> >>> >> <<a href="mailto:lhsborges@gmail.com">lhsborges@gmail.com</a>> escreveu:<br>
>>> >>> >> > telnet não, coloca o número 23 no filtro.<br>
>>> >>> >> ><br>
>>> >>> >> > 2011/5/26 Thiago Gomes <<a href="mailto:thiagomespb@gmail.com">thiagomespb@gmail.com</a>><br>
>>> >>> >> >><br>
>>> >>> >> >> #netstat -a | grep telnet<br>
>>> >>> >> >> #<br>
>>> >>> >> >><br>
>>> >>> >> >> nada..<br>
>>> >>> >> >><br>
>>> >>> >> >> 2011/5/26 Luiz Henrique Borges <<a href="mailto:lhsborges@gmail.com">lhsborges@gmail.com</a>>:<br>
>>> >>> >> >> > netstat -tunape | grep -i 23<br>
>>> >>> >> >> ><br>
>>> >>> >> >> > O seviço está em LISTEN, ouvindo na porta 23? Cole o retorno<br>
>>> >>> >> >> > desse<br>
>>> >>> >> >> > comando<br>
>>> >>> >> >> > pra gente!!!<br>
>>> >>> >> >> ><br>
>>> >>> >> >> > O firewall não está barrando?<br>
>>> >>> >> >> ><br>
>>> >>> >> >> > 2011/5/26 Thiago Gomes <<a href="mailto:thiagomespb@gmail.com">thiagomespb@gmail.com</a>><br>
>>> >>> >> >> >><br>
>>> >>> >> >> >> Pessoal,<br>
>>> >>> >> >> >><br>
>>> >>> >> >> >> Estou com erro de configurar o meu servidor via telnet.<br>
>>> >>> >> >> >><br>
>>> >>> >> >> >> fiz a instalação..<br>
>>> >>> >> >> >><br>
>>> >>> >> >> >> #yum install telnet-server<br>
>>> >>> >> >> >><br>
>>> >>> >> >> >> # telnet localhost<br>
>>> >>> >> >> >> Trying 127.0.0.1...<br>
>>> >>> >> >> >> telnet: connect to address <a href="http://127.0.0.1" target="_blank">127.0.0.1</a>: Connection refused<br>
>>> >>> >> >> >> telnet: Unable to connect to remote host: Connection refused<br>
>>> >>> >> >> >><br>
>>> >>> >> >> >><br>
>>> >>> >> >> >> #/etc/init.d/xinetd reload<br>
>>> >>> >> >> >> Reloading configuration:<br>
>>> >>> >> >> >> [FAILED]<br>
>>> >>> >> >> >><br>
>>> >>> >> >> >> #chkconfig --list | grep telnet<br>
>>> >>> >> >> >> ekrb5-telnet: off<br>
>>> >>> >> >> >> krb5-telnet: off<br>
>>> >>> >> >> >> telnet: on<br>
>>> >>> >> >> >><br>
>>> >>> >> >> >><br>
>>> >>> >> >> >> service telnet<br>
>>> >>> >> >> >> {<br>
>>> >>> >> >> >> disable = no<br>
>>> >>> >> >> >> flags = REUSE<br>
>>> >>> >> >> >> socket_type = stream<br>
>>> >>> >> >> >> wait = no<br>
>>> >>> >> >> >> user = root<br>
>>> >>> >> >> >> server = /usr/sbin/in.telnetd<br>
>>> >>> >> >> >> log_on_failure += USERID<br>
>>> >>> >> >> >> }<br>
>>> >>> >> >> >><br>
>>> >>> >> >> >><br>
>>> >>> >> >> >><br>
>>> >>> >> >> >> Falta alguma coisa. ??<br>
>>> >>> >> >> >><br>
>>> >>> >> >> >> --<br>
>>> >>> >> >> >> Thiago Gomes<br>
>>> >>> >> >> >> _______________________________________________<br>
>>> >>> >> >> >> CentOS-pt-br mailing list<br>
>>> >>> >> >> >> <a href="mailto:CentOS-pt-br@centos.org">CentOS-pt-br@centos.org</a><br>
>>> >>> >> >> >> <a href="http://lists.centos.org/mailman/listinfo/centos-pt-br" target="_blank">http://lists.centos.org/mailman/listinfo/centos-pt-br</a><br>
>>> >>> >> >> ><br>
>>> >>> >> >> ><br>
>>> >>> >> >> ><br>
>>> >>> >> >> > --<br>
>>> >>> >> >> > Luiz Henrique Borges<br>
>>> >>> >> >> ><br>
>>> >>> >> >> > Junior Level Linux Professional (LPIC-1)<br>
>>> >>> >> >> > LPI ID: LPI000214825<br>
>>> >>> >> >> > Verification Code: akdd5dsk5t<br>
>>> >>> >> >> > <a href="https://cs.lpi.org/caf/Xamman/certification" target="_blank">https://cs.lpi.org/caf/Xamman/certification</a><br>
>>> >>> >> >> ><br>
>>> >>> >> >> > Novell Certified Linux Administrator<br>
>>> >>> >> >> > Data Center Technical Specialist<br>
>>> >>> >> >> ><br>
>>> >>> >> >> ><br>
>>> >>> >> >> > _______________________________________________<br>
>>> >>> >> >> > CentOS-pt-br mailing list<br>
>>> >>> >> >> > <a href="mailto:CentOS-pt-br@centos.org">CentOS-pt-br@centos.org</a><br>
>>> >>> >> >> > <a href="http://lists.centos.org/mailman/listinfo/centos-pt-br" target="_blank">http://lists.centos.org/mailman/listinfo/centos-pt-br</a><br>
>>> >>> >> >> ><br>
>>> >>> >> >> ><br>
>>> >>> >> >><br>
>>> >>> >> >><br>
>>> >>> >> >><br>
>>> >>> >> >> --<br>
>>> >>> >> >> Thiago Gomes<br>
>>> >>> >> >> _______________________________________________<br>
>>> >>> >> >> CentOS-pt-br mailing list<br>
>>> >>> >> >> <a href="mailto:CentOS-pt-br@centos.org">CentOS-pt-br@centos.org</a><br>
>>> >>> >> >> <a href="http://lists.centos.org/mailman/listinfo/centos-pt-br" target="_blank">http://lists.centos.org/mailman/listinfo/centos-pt-br</a><br>
>>> >>> >> ><br>
>>> >>> >> ><br>
>>> >>> >> ><br>
>>> >>> >> > --<br>
>>> >>> >> > Luiz Henrique Borges<br>
>>> >>> >> ><br>
>>> >>> >> > Junior Level Linux Professional (LPIC-1)<br>
>>> >>> >> > LPI ID: LPI000214825<br>
>>> >>> >> > Verification Code: akdd5dsk5t<br>
>>> >>> >> > <a href="https://cs.lpi.org/caf/Xamman/certification" target="_blank">https://cs.lpi.org/caf/Xamman/certification</a><br>
>>> >>> >> ><br>
>>> >>> >> > Novell Certified Linux Administrator<br>
>>> >>> >> > Data Center Technical Specialist<br>
>>> >>> >> ><br>
>>> >>> >> ><br>
>>> >>> >> > _______________________________________________<br>
>>> >>> >> > CentOS-pt-br mailing list<br>
>>> >>> >> > <a href="mailto:CentOS-pt-br@centos.org">CentOS-pt-br@centos.org</a><br>
>>> >>> >> > <a href="http://lists.centos.org/mailman/listinfo/centos-pt-br" target="_blank">http://lists.centos.org/mailman/listinfo/centos-pt-br</a><br>
>>> >>> >> ><br>
>>> >>> >> ><br>
>>> >>> >><br>
>>> >>> >><br>
>>> >>> >><br>
>>> >>> >> --<br>
>>> >>> >> Thiago Gomes<br>
>>> >>> >> _______________________________________________<br>
>>> >>> >> CentOS-pt-br mailing list<br>
>>> >>> >> <a href="mailto:CentOS-pt-br@centos.org">CentOS-pt-br@centos.org</a><br>
>>> >>> >> <a href="http://lists.centos.org/mailman/listinfo/centos-pt-br" target="_blank">http://lists.centos.org/mailman/listinfo/centos-pt-br</a><br>
>>> >>> ><br>
>>> >>> ><br>
>>> >>> ><br>
>>> >>> > --<br>
>>> >>> > Luiz Henrique Borges<br>
>>> >>> ><br>
>>> >>> > Junior Level Linux Professional (LPIC-1)<br>
>>> >>> > LPI ID: LPI000214825<br>
>>> >>> > Verification Code: akdd5dsk5t<br>
>>> >>> > <a href="https://cs.lpi.org/caf/Xamman/certification" target="_blank">https://cs.lpi.org/caf/Xamman/certification</a><br>
>>> >>> ><br>
>>> >>> > Novell Certified Linux Administrator<br>
>>> >>> > Data Center Technical Specialist<br>
>>> >>> ><br>
>>> >>> ><br>
>>> >>> > _______________________________________________<br>
>>> >>> > CentOS-pt-br mailing list<br>
>>> >>> > <a href="mailto:CentOS-pt-br@centos.org">CentOS-pt-br@centos.org</a><br>
>>> >>> > <a href="http://lists.centos.org/mailman/listinfo/centos-pt-br" target="_blank">http://lists.centos.org/mailman/listinfo/centos-pt-br</a><br>
>>> >>> ><br>
>>> >>> ><br>
>>> >>><br>
>>> >>><br>
>>> >>><br>
>>> >>> --<br>
>>> >>> Thiago Gomes<br>
>>> >>> _______________________________________________<br>
>>> >>> CentOS-pt-br mailing list<br>
>>> >>> <a href="mailto:CentOS-pt-br@centos.org">CentOS-pt-br@centos.org</a><br>
>>> >>> <a href="http://lists.centos.org/mailman/listinfo/centos-pt-br" target="_blank">http://lists.centos.org/mailman/listinfo/centos-pt-br</a><br>
>>> >><br>
>>> >><br>
>>> >><br>
>>> >> --<br>
>>> >> Lucas Timm, Goiânia/GO.<br>
>>> >> <a href="http://timmerman.wordpress.com" target="_blank">http://timmerman.wordpress.com</a><br>
>>> >><br>
>>> >> (62) 8198-0867<br>
>>> ><br>
>>> ><br>
>>> ><br>
>>> > --<br>
>>> > Lucas Timm, Goiânia/GO.<br>
>>> > <a href="http://timmerman.wordpress.com" target="_blank">http://timmerman.wordpress.com</a><br>
>>> ><br>
>>> > (62) 8198-0867<br>
>>> ><br>
>>> > _______________________________________________<br>
>>> > CentOS-pt-br mailing list<br>
>>> > <a href="mailto:CentOS-pt-br@centos.org">CentOS-pt-br@centos.org</a><br>
>>> > <a href="http://lists.centos.org/mailman/listinfo/centos-pt-br" target="_blank">http://lists.centos.org/mailman/listinfo/centos-pt-br</a><br>
>>> ><br>
>>> ><br>
>>><br>
>>><br>
>>><br>
>>> --<br>
>>> Thiago Gomes<br>
>>> _______________________________________________<br>
>>> CentOS-pt-br mailing list<br>
>>> <a href="mailto:CentOS-pt-br@centos.org">CentOS-pt-br@centos.org</a><br>
>>> <a href="http://lists.centos.org/mailman/listinfo/centos-pt-br" target="_blank">http://lists.centos.org/mailman/listinfo/centos-pt-br</a><br>
>><br>
>><br>
>><br>
>> --<br>
>> Lucas Timm, Goiânia/GO.<br>
>> <a href="http://timmerman.wordpress.com" target="_blank">http://timmerman.wordpress.com</a><br>
>><br>
>> (62) 8198-0867<br>
>><br>
>> _______________________________________________<br>
>> CentOS-pt-br mailing list<br>
>> <a href="mailto:CentOS-pt-br@centos.org">CentOS-pt-br@centos.org</a><br>
>> <a href="http://lists.centos.org/mailman/listinfo/centos-pt-br" target="_blank">http://lists.centos.org/mailman/listinfo/centos-pt-br</a><br>
>><br>
><br>
><br>
><br>
> --<br>
> Luiz Henrique Borges<br>
><br>
> Junior Level Linux Professional (LPIC-1)<br>
> LPI ID: LPI000214825<br>
> Verification Code: akdd5dsk5t<br>
> <a href="https://cs.lpi.org/caf/Xamman/certification" target="_blank">https://cs.lpi.org/caf/Xamman/certification</a><br>
><br>
> Novell Certified Linux Administrator<br>
> Data Center Technical Specialist<br>
><br>
><br>
> _______________________________________________<br>
> CentOS-pt-br mailing list<br>
> <a href="mailto:CentOS-pt-br@centos.org">CentOS-pt-br@centos.org</a><br>
> <a href="http://lists.centos.org/mailman/listinfo/centos-pt-br" target="_blank">http://lists.centos.org/mailman/listinfo/centos-pt-br</a><br>
><br>
><br>
<br>
<br>
<br>
--<br>
Thiago Gomes<br>
_______________________________________________<br>
CentOS-pt-br mailing list<br>
<a href="mailto:CentOS-pt-br@centos.org">CentOS-pt-br@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos-pt-br" target="_blank">http://lists.centos.org/mailman/listinfo/centos-pt-br</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Lucas Timm, Goiânia/GO.<br><a href="http://timmerman.wordpress.com" target="_blank">http://timmerman.wordpress.com</a><br><br>(62) 8198-0867<br>
</div>