- Community Home
- >
- HPE Community, China
- >
- 论坛管理
- >
- 论坛管理
- >
- 在HPUX中限制用户使用telnet登陆
类别
Company
Local Language
论坛
讨论平台
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
论坛
博客
- 将帖子标记为未读
- 加注书签
- 订阅
- 禁止
- 订阅此主题的 RSS 提要
- 高亮显示此帖
- 打印此帖
- 报告不当内容
修改时间 07-13-2015 10:21 AM
修改时间 07-13-2015 10:21 AM
在HPUX中限制用户使用telnet登陆
在HPUX中限制用户使用telnet登陆
本文主要讲解在HPUX操作系统下禁止telnet的方法。希望大家喜欢。 1、在超级服务器中限制telnet登陆 # pwd /var/adm # cat inetd.sec # @(#)inetd.sec $Revision: 1.10.212.1 $ $Date: 95/10/12 19:28:29 $ # # # The lines in the file contain a service name, permission field and # the Internet addresses or names of the hosts and/or networks # allowed to use that service in the local machine. # The form for each entry in this file is: # # # # For example: # # login allow 10.3-5 192.34.56.5 ahost anetwork # # The above entry allows the following hosts to attempt to access your system # using rlogin: # hosts in subnets 3 through 5 in network 10, # the host with Internet Address of 192.34.56.5, # the host by the name of "ahost", # all the hosts in the network "anetwork" # # mountd deny 192.23.4.3 # # The mountd entry denies host 192.23.4.3 access to the NFS rpc.mountd # server. # # Hosts and network names must be official names, not aliases. # See the inetd.sec(4) manual page for more information. dtspc allow 127.0.0.1 hpux_55 spc allow 127.0.0.1 hpux55 mserve allow 127.0.0.1 hpux55 利用vi编辑,如果需要禁止某一个网段的用户登陆使用telnet,则编辑如下: #vi /var/adm/inetd.sec ... telnet deny 192.168.1.* 如果需要仅仅是某个网段的用户使用telnet,则如下 #vi /var/adm/inetd.sec ... telnet allow 192.168.1.* 2、限定telnet登陆,只允许使用console登陆。 #vi /etc/securetty console 这样,只能有在console上登陆。 3、临时解决办法 # ps -ef|grep telnet root 1060 551 0 15:00:06 ttyp1 0:00 telnetd root 1097 1061 7 15:23:56 ttyp1 0:00 grep telnet # kill -9 1060 好了,以上就是详细内容,希望大家喜欢,如果有什么问题,欢迎来信探讨。
- 将帖子标记为未读
- 加注书签
- 订阅
- 禁止
- 订阅此主题的 RSS 提要
- 高亮显示此帖
- 打印此帖
- 报告不当内容
修改时间 07-15-2015 12:58 PM
修改时间 07-15-2015 12:58 PM
回复: 在HPUX中限制用户使用telnet登陆
FILES
/etc/inetd.conf List of Internet server processes.
/var/adm/inetd.sec Optional security file.