xref: /titanic_50/usr/src/cmd/netfiles/nsswitch.nis (revision 174bc6499d233e329ecd3d98a880a7b07df16bfa)
1# CDDL HEADER START
2#
3# The contents of this file are subject to the terms of the
4# Common Development and Distribution License (the "License").
5# You may not use this file except in compliance with the License.
6#
7# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8# or http://www.opensolaris.org/os/licensing.
9# See the License for the specific language governing permissions
10# and limitations under the License.
11#
12# When distributing Covered Code, include this CDDL HEADER in each
13# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
14# If applicable, add the following below this CDDL HEADER, with the
15# fields enclosed by brackets "[]" replaced with your own identifying
16# information: Portions Copyright [yyyy] [name of copyright owner]
17#
18# CDDL HEADER END
19#
20# Copyright (c) 1992, 2010, Oracle and/or its affiliates. All rights reserved.
21#
22
23#
24# /etc/nsswitch.nis:
25#
26# An example file that could be copied over to /etc/nsswitch.conf; it
27# uses NIS (YP) in conjunction with files.
28#
29# "hosts:" and "services:" in this file are used only if the
30# /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports.
31
32# NIS service requires that svc:/network/nis/client:default be enabled
33# and online.
34
35# the following two lines obviate the "+" entry in /etc/passwd and /etc/group.
36passwd:     files nis
37group:      files nis
38
39# consult /etc "files" only if nis is down.
40hosts:      files nis
41
42# Note that IPv4 addresses are searched for in all of the ipnodes databases
43# before searching the hosts databases.
44ipnodes:    files nis
45
46networks:   files nis
47protocols:  files nis
48rpc:        files nis
49ethers:     files nis
50netmasks:   files nis
51bootparams: files nis
52publickey:  files nis
53
54netgroup:   nis
55
56automount:  files nis
57aliases:    files nis
58
59# for efficient getservbyname() avoid nis
60services:   files nis
61printers:	user files nis
62
63auth_attr:  files nis
64prof_attr:  files nis
65project:    files nis
66