All pastes #977866 Raw Edit

Someone

public text v1 · immutable
·published 2008-04-09 03:27 UTC
rendered paste body

# cat /etc/hosts
#
# Internet host table
#
127.0.0.1 localhost
128.103.64.145 dev loghost
128.103.170.28 terra terra.gsd.harvard.edu
# cat /etc/resolv.conf
domain gsd.harvard.edu
nameserver 128.103.201.100
nameserver 128.103.200.101
nameserver 128.103.1.1
search gsd.harvard.edu harvard.edu
# cat /etc/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.

# NIS service requires that svc:/network/nis/client:default be enabled
# and online.

# the following two lines obviate the "+" entry in /etc/passwd and /etc/group.
passwd:     files nis
group:      files nis

# consult /etc "files" only if nis is down.
hosts:      files dns nis

# Note that IPv4 addresses are searched for in all of the ipnodes databases
# before searching the hosts databases.
ipnodes:    nis [NOTFOUND=return] files

networks:   nis [NOTFOUND=return] files
protocols:  nis [NOTFOUND=return] files
rpc:        nis [NOTFOUND=return] files
ethers:     nis [NOTFOUND=return] files
netmasks:   nis [NOTFOUND=return] files
bootparams: nis [NOTFOUND=return] files
publickey:  nis [NOTFOUND=return] files

netgroup:   nis

automount:  files nis
aliases:    files nis

# for efficient getservbyname() avoid nis
services:   files nis
printers:       user files nis

auth_attr:  files nis
prof_attr:  files nis
project:    files nis