Initial add of defaria.com
[clearscm.git] / defaria.com / Computers / code / adm / etc / nsswitch.conf
1
2 ##############################################################################
3 #
4 # File:         /etc/nsswitch.conf
5 # Description:  Standard nsswitch.conf file for infrastructure machines.
6 This
7 #               file describes how this system obtains certain configuration
8 #               files such as passwd, group, etc. It says whether to look in
9 #               NIS, local files, etc.
10 # Author:       Andrew@DeFaria.com
11 # Language:     nsswitch.conf syntax
12 #
13 # (c) Copyright 1999, Andrew DeFaria, all rights reserved.
14 #
15
16 ###############################################################################
17
18 # Get password information in "compat" mode. This means that special NIS
19 tokens
20 # such as +@<netgroup>, etc are paid attention to in the local password
21 file.
22 passwd:         compat
23
24 # Same "compat" mode for group.
25 group:          compat
26
27 # Hosts come from dns first, nis second and finally local files. The
28 NOTFOUND
29 # entry say to treat NIS as the authority and if it isn't found in NIS then
30 # to return. However if NIS is down (AKA UNAVAILABLE=continue) then we go
31 # onward to files (See nsswitch.conf(4)).
32 #
33 # Due to problems with 11.x sendmail the nis entry has been removed. Getting
34 # hosts from NIS was never that reliable because we don't really keep the
35 NIS
36 # hosts map up to date.
37 #
38 # WARNING: This means is DNS is down then most likely the network is down
39 too!
40 # The practice of creating an /etc/hosts file that contains all the machines
41 # in this subnet, intended to allow the subnet to run when DNS is down, has
42 # been discontinued. Therefore if DNS is down most likely no machine will be
43 # able to talk to any other machine except itself!
44 hosts:          dns files
45
46 # The following maps are searched for in NIS first and use the same NOTFOUND
47 # setting as hosts
48 networks:       nis [NOTFOUND=return] files
49 protocols:      nis [NOTFOUND=return] files
50 netgroup:       nis [NOTFOUND=return] files
51 publickey:      nis [NOTFOUND=return] files
52 rpc:            nis [NOTFOUND=return] files
53
54 # The following maps are searched for files first and then NIS
55 # Note: Contrary to the man page, apparently [NOTFOUND=continue] is required
56 automount:      files [NOTFOUND=continue] nis
57 services:       files [NOTFOUND=continue] nis
58
59 # Since we do not use NIS for mail aliases only search local files
60 aliases:        files