免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 1700 | 回复: 11
打印 上一主题 下一主题

telnet 无法远程登陆 (redhat 9) [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-06-02 14:58 |只看该作者 |倒序浏览
telnet 按照如下配置,能在本机telnet,但无法远程,请指教

二、 TELNET服务(虽然这里提到telnet,但是为了安全,最好还是使用ssh,这个程序现在流行的unix都默认安装)
修改如下2个文件,使系统能被网络上的其他机器的用户访问,如果要能root远程操作机器
开通TELNET服务是很必要的。
1./etc/securetty,添加以下行:
…… //省略
pts/0
pts/1
……
pts/5 //可以加多行
----------------------------------------------------------------------------------------------------------------------
2./etc/xinetd.d/telnet
----------------------------------------------------------------------------------------------------------------------
# default: on
# description: The telnet server serves telnet sessions; it uses \
# unencrypted username/password pairs for authentication.
service telnet
{
disable = no
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
}
----------------------------------------------------------------------------------------------------------------------
确保disable=no

论坛徽章:
0
2 [报告]
发表于 2005-06-02 14:59 |只看该作者

telnet 无法远程登陆 (redhat 9)

service xinetd start;service iptables stop;try again........

论坛徽章:
0
3 [报告]
发表于 2005-06-02 15:03 |只看该作者

telnet 无法远程登陆 (redhat 9)

telnet能否登录跟/etc/securetty无关吧.
telnet能否登录也不一样要iptables stop吧,可以允许telnet的端口,关闭其他吧.

论坛徽章:
0
4 [报告]
发表于 2005-06-02 15:04 |只看该作者

telnet 无法远程登陆 (redhat 9)

Success!!!

能请教一下都是什么含义吗?都有什么用途?
service xinetd start  ????
service iptables??

[quote]原帖由 "Forget&Remeber"]service xinetd start;service iptables stop;try again........[/quote 发表:

论坛徽章:
0
5 [报告]
发表于 2005-06-02 15:06 |只看该作者

telnet 无法远程登陆 (redhat 9)

原帖由 "seizetheday" 发表:
能请教一下都是什么含义吗?都有什么用途?
service xinetd start  ????
service iptables??


The first: start the service,the second:stop the firewall.

To hellolinux:
This is the eastest way for lz...........

论坛徽章:
0
6 [报告]
发表于 2005-06-02 15:09 |只看该作者

telnet 无法远程登陆 (redhat 9)

原帖由 "hellolinux" 发表:
telnet能否登录跟/etc/securetty无关吧.
telnet能否登录也不一样要iptables stop吧,可以允许telnet的端口,关闭其他吧.

1.modify securetty can let root login by telnet
2.Do you think lz can allow some port  ?

论坛徽章:
0
7 [报告]
发表于 2005-06-02 15:10 |只看该作者

telnet 无法远程登陆 (redhat 9)

how  to  config the firewall suitable?not noly stop it.

原帖由 "Forget&Remeber" 发表:


The first: start the service,the second:stop the firewall.

To hellolinux:
This is the eastest way for lz...........

论坛徽章:
0
8 [报告]
发表于 2005-06-02 15:12 |只看该作者

telnet 无法远程登陆 (redhat 9)

i want to deny another port,but allow FTP and TELNET.
how to do?
原帖由 "Forget&Remeber" 发表:

1.modify securetty can let root login by telnet
2.Do you think lz can allow some port  ?

论坛徽章:
0
9 [报告]
发表于 2005-06-02 15:15 |只看该作者

telnet 无法远程登陆 (redhat 9)

sorry,Maybe you should read some post of here..........

论坛徽章:
0
10 [报告]
发表于 2005-06-02 15:16 |只看该作者

telnet 无法远程登陆 (redhat 9)

[quote]原帖由 "Forget&Remeber"]sorry,Maybe you should read some post of here..........[/quote 发表:


ok,thank you any way!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP