telnet服务的安全改进(1)(2)
二、启动telnet服务
1、开启服务
方法一:使用ntsysv,在出现的窗口之中,将 telnet 勾选起来,然后按下 OK 即可 !
方法二:编辑 /etc/xinetd.d/telnet
- [root@linuxchao root]# vi /etc/xinetd.d/telnet
找到 disable = yes<==就是改这里,将 yes 改成 no 即可!服务预设是关闭的
方法三:使用chkconfig命令直接开启
- [root@linuxchao root]chkconfig telnet on
2、激活服务
telnet 是挂在 xinetd 底下的,所以自然只要重新激活 xinetd 就能够将 xinetd 里头的设定重新读进来,所以刚刚设定的 telnet 自然
也就可以被激活.
- [root@linuxchao root]# service xinetd restart
- 或者[root@linuxchao root]# /etc/rc.d/init.d/xinetd restart #这个是比较正规的方法
评论暂时关闭