- 論壇徽章:
- 0
|
回復(fù) #6 hbh231 的帖子
樓上的方法不行,這個(gè)文件只能限制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:
把你要使用的命令用連接的方式生成到另外一個(gè)文件夾里面去,然后更改用戶的環(huán)境變量到那個(gè)文件
如果你要用的命令特別多,這樣就比較麻煩
期待大蝦們能夠提供更好的辦法 |
|