- 论坛徽章:
- 0
|
可以PING通,但TELNET不行
# more nsswitch.conf
#
# /etc/nsswitch.nis:
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# uses NIS (YP) in conjunction with files.
#
# "hosts:" and "services:" in this file are used only if the
# /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports.
# the following two lines obviate the "+" entry in /etc/passwd and /etc/group.
passwd: files nis
group: files nis
# The default criteria are to continue on anything except SUC-
# CESS; in other words, [SUCCESS=return NOTFOUND=continue
# UNAVAIL=continue TRYAGAIN=continue].
hosts: files nis
networks: files nis
protocols: files nis
rpc: files nis
ethers: files nis
netmasks: files nis
bootparams: files nis
publickey: files nis
netgroup: nis
automount: files nis
aliases: files nis
# for efficient getservbyname() avoid nis
services: files nis
sendmailvars: files
# |
|