免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2006 | 回复: 5
打印 上一主题 下一主题

[SCO UNIX] 禁止一个用户telnet到服务器 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-07-30 12:43 |只看该作者 |倒序浏览
我的服务器是tru64系统,怎样禁止客户端的一个用户telnet到服务器
多谢!

论坛徽章:
2
荣誉会员
日期:2011-11-23 16:44:17拜羊年徽章
日期:2015-03-03 16:15:43
2 [报告]
发表于 2004-07-30 14:32 |只看该作者

禁止一个用户telnet到服务器

    
      

论坛徽章:
0
3 [报告]
发表于 2004-07-30 15:28 |只看该作者

禁止一个用户telnet到服务器

1  修改 /etc/inet.local  
    ifconfig tu0 filter

2  修改 /etc/ifaccess.conf:
    tu0 <ip>; <mask>; denylog

3  ifconfig tu0 filter

4 netstat -I tu0 -c  (check the filter)

论坛徽章:
0
4 [报告]
发表于 2004-07-30 23:39 |只看该作者

禁止一个用户telnet到服务器

如果我要限制一个IP TELNET我的主机我该怎么做呢?
比如主机的IP是192.168.0.11

论坛徽章:
2
荣誉会员
日期:2011-11-23 16:44:17拜羊年徽章
日期:2015-03-03 16:15:43
5 [报告]
发表于 2004-07-31 00:08 |只看该作者

禁止一个用户telnet到服务器

Limiting Access with TCP Wrappers
Install and configure TCP Wrappers and Portmap3. This is recommended for Solaris, SunOS, IRIX, and Tru-64 systems; most LINUX distributions already have TCP Wrappers installed, but the /etc/hosts.allow and /etc/hosts.deny files need to be configured. These utilities can be used to limit access to your system using an access control list. The TCP Wrapper program is used to control access to services run from inetd and Portmap3 is used to limit access to the portmapper or rpcbind services such as NFS and NIS. Use the following /etc/hosts.allow configuration file as an access control list template and modify as needed. It is preferable to limit access to only one or more of the following domains: lbl.gov, nersc.gov, es.net, psf-jgi.org. Hosts requiring access from outside these domains should be added on an individual basis by specifying the IP address of the specific host or subnet for a group of hosts.

论坛徽章:
0
6 [报告]
发表于 2004-07-31 22:09 |只看该作者

禁止一个用户telnet到服务器

给你写的还不够详细吗?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP