在SLES8上如何设置telnet服务
A: 在SLES8中可以用yast inetd来配置打开telnet服务,也可以通过修改配置文件的方式加以支持
方法1. 通过yast2管理工具进行配置
在console中运行yast2工具激活inetd以及telnet服务
# yast2 inetd
"Enable/disable inetd" 选择 "On with custom configuration ..." 然后单击"Next"按钮
"Enable/disable network services" 激活
"telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd"对应的行,然后单击"Finish"按钮
方法2. 通过修改相关配置文件并运行命令管理进行配置
编辑/etc/inetd.conf文件,去掉下面这行前面的注释:
#telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd
然后运行如下命令激活inetd服务并启动inetd
# chkconfig -a inetd
# /etc/init.d/inetd start
检查及排错:
可以用下面的命令查看ftp服务有没有起来
# netstat -l | grep telnet
telnet服务缺省禁止root用户使用.因为telnet口令传输使用明文,从安全的角度考虑不建议
开放root用户的telnet限制.
可以编辑/etc/securitty文件添加行
pts/1
pts/2
pts/3
pts/4
pts/5
pts/6
打开root用户的telnet限制
SUSE FAQ系列:设定telnet服务
2007-11-12 21:24 来源: www.linuxdiyf.com 作者:rmidable 网友评论 0 条 浏览次数 169
上一篇:
下一篇:
相关主题:suse telnet服务
- 2008-07-03 08:17openSUSE 11.0正式发布
- 2007-11-12 21:26SUSE安装3D桌面教程+ATI驱动
- 2007-11-02 21:40Linux发行版知识:关于openSUSE的详细介绍
- 2007-11-01 21:16GRUB唤醒沉睡的SUSE
- 2007-11-01 21:15Suse下如何打开3D效果的之Beryl窗口管理器的安装
