Wednesday, September 13, 2006

redhat linux下配置telnet

1、 检查软件:rpm –q telnet-server
本次测试用的为: telnet-server-0.17-30
2、 编辑/etc/xinetd.d/telnet
编辑最后一行为disable = no
3、 重新启动xinetd服务:/etc/init.d/xinetd restart
4、 尝试telnet登陆:
Red Hat Enterprise Linux ES release 4 (Nahant)
Kernel 2.6.9-5.EL on an i686
login: oracle
Password:
Last login: Thu Apr 20 21:26:34 on :0
-bash: [: /bin/bash: unary operator expected
[oracle@liqlx4 ~]$
5、 以root用户登陆
vi /etc/securetty
加入
pts/1
pts/2
pts/3
pts/4
pts/5
pts/6
pts/7
pts/8
pts/9
pts/10

No comments: