linux telnet
来源:互联网 发布:c语言数学要求高吗 编辑:程序博客网 时间:2024/06/04 15:12
service xinetd restart
cat /etc/xinetd.d/telnet
# default: on
# description: The telnet server serves telnet sessions; it uses \
# unencrypted username/password pairs for authentication.
service telnet
{
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
disable = no
}
mv /etc/secureetty /etc/secureetty.bak
[root@umsslave xinetd.d]# rpm -qa |grep telnet
telnet-0.17-39.el5
telnet-server-0.17-39.el5
[root@umsslave xinetd.d]# rpm -qa |grep xinetd
xinetd-2.3.14-10.el5
======================
{
disable=no 激活telnet服务,no为激活,yes为不激活
bind=192.168.10.100 只允许经由这个适配卡的封包进来自己的网卡
only_from=192.168.10.0/24 只允许192.168.10.0的网段进入
only_from=.edu.cn 只有教育网才能进入
no_access=192.168.10.{200.210} 192.168.10.200 192.168.10.210这两个ip不能登录
access_times=8:00-12:00 14:00-18:00 只有这两个时间段开放服务
}
(1)、允许所有网络连接
#vi /etc/nsswitch.conf
39行:hosts:files dns改为hosts:files
(2)、限制部分通过
#vi /etc/hosts
192.168.10.100 localhost ip和主机名
(3)、允许root登录
#cd /etc/
#mv secureetty secureetty.bak
其实删除掉就可以了,不过为了以后的修改还是备份掉好了
(4)、重启服务
#service xinetd restart
- linux telnet
- linux TELNET
- linux telnet
- Telnet Linux
- linux telnet
- linux-telnet
- linux 退出 telnet , 怎么退出 telnet
- 启动linux中的telnet
- linux启用telnet服务
- Linux启用Telnet服务
- linux下telnet设置
- Linux Telnet SSH
- linux的telnet配置
- linux telnet服务
- Linux Telnet服务开启
- linux开启telnet服务
- linux telnet服务
- Linux开启Telnet(RHEL5)
- 多点坐标排序算法
- 网页按钮启动应用程序
- VMA和LMA
- c#邮件发送
- Android给TextView,EditText等设置边框
- linux telnet
- 防止表单重复提交
- 搜索引擎最讨厌的seo做法
- 2.4 重新编写函数squeeze(s1,s2),将字符串s1中任何与字符串s2中字符匹配的字符都删除。
- 立体视觉的讲解和各种方法的比较 非常适合入门学习
- JDBC基础知识总结
- Django框架学习-Templates进阶用法
- Linux下网络服务的配置
- QT 历史