|
发表于 2005-10-22 21:46:34
|
显示全部楼层
I had the same problem as you before, so I know exactly what's wrong.
NIS有办法限制单个的IP!!! Read /var/yp/securenets carefully and the second paragraph says:
# One can use the word "host" instead of a netmask of
# 255.255.255.255. Only IP addresses are allowed in this
# file, not hostnames.
#
# Always allow access for localhost
255.0.0.0 127.0.0.0
# This line gives access to everybody. PLEASE ADJUST!
#0.0.0.0 0.0.0.0
host 192.168.0.3
***********************************************
You see, just use the word "host" and the IP address you want to block  |
|