:em11:作者: 水平低 时间: 2004-03-24 10:44 标题: 怎样设置才能够让用户不能telnet 只能ftp ,你可以VI /var/adm/inetd.sec
来控制作者: lemons 时间: 2004-03-24 15:24 标题: 怎样设置才能够让用户不能telnet 只能ftp 请问大侠如何控制?作者: 水平低 时间: 2004-03-24 16:46 标题: 怎样设置才能够让用户不能telnet 只能ftp # @(#)B.11.11_LRinetd.sec $Revision: 1.10.214.1 $ $Date: 96/10/08 13:20:06 $
#
#
# 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:
#
# <service name>; <allow/deny>; <host/network addresses, host/network names>;
#
# 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.
telnet allow hostname 10.0.xxx作者: liuzq 时间: 2004-03-24 18:08 标题: 怎样设置才能够让用户不能telnet 只能ftp 设置inetd.sec好像不能限制某个用户吧,好像都是针对主机和ip的
# <service name>; <allow/deny>; <host/network addresses, host/network names>;