Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2914550
  • 博文数量: 454
  • 博客积分: 4860
  • 博客等级: 上校
  • 技术积分: 6375
  • 用 户 组: 普通用户
  • 注册时间: 2011-03-13 10:08
个人简介

10年工作经验,专研网站运维。

文章分类

全部博文(454)

文章存档

2017年(11)

2016年(13)

2015年(47)

2014年(36)

2013年(147)

2012年(64)

2011年(136)

分类: LINUX

2012-05-24 13:59:21

1、安装telnet软件包
yum install telnet*
2、编辑telnet的配置文件
vim /etc/xinetd.d/telnet
 disable         = no
这一项原来是yes,修改成no即可。
3、开启防火墙23端口
iptables -L
setup
4、允许root用户访问(在服务器上不要使用这一项)
vim /etc/securetty
添加:
console
vc/1
vc/2
vc/3
vc/4
vc/5
vc/6
vc/7
vc/8
vc/9
vc/10
vc/11
tty1
tty2
tty3
tty4
tty5
tty6
tty7
tty8
tty9
tty10
tty11
pts/0
pts/1
pts/2
pts/3
保存文件退出。
5、重启服务:
/etc/init.d/xinetd restart
阅读(2315) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~