- 论坛徽章:
- 0
|
回复 #6 hbh231 的帖子
楼上的方法不行,这个文件只能限制ip不能限制用户
# @(#)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:
把你要使用的命令用连接的方式生成到另外一个文件夹里面去,然后更改用户的环境变量到那个文件
如果你要用的命令特别多,这样就比较麻烦
期待大虾们能够提供更好的办法 |
|