xref: /illumos-gate/usr/src/cmd/netfiles/nsswitch.nis (revision f17620a4f72a29025a22655ba8735ccd20ae174f)
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
39hosts:      files nis
40
41# Note that IPv4 addresses are searched for in all of the ipnodes databases
42# before searching the hosts databases.
43ipnodes:    files nis
44
45networks:   files nis
46protocols:  files nis
47rpc:        files nis
48ethers:     files nis
49netmasks:   files nis
50bootparams: files nis
51publickey:  files nis
52
53netgroup:   files nis
54
55automount:  files nis
56aliases:    files nis
57
58# for efficient getservbyname() avoid nis
59services:   files nis
60printers:	user files nis
61
62auth_attr:  files nis
63prof_attr:  files nis
64project:    files nis
65