summaryrefslogtreecommitdiffstats
path: root/patches/source/yptools/nsswitch.conf-nis
diff options
context:
space:
mode:
Diffstat (limited to 'patches/source/yptools/nsswitch.conf-nis')
-rw-r--r--patches/source/yptools/nsswitch.conf-nis45
1 files changed, 45 insertions, 0 deletions
diff --git a/patches/source/yptools/nsswitch.conf-nis b/patches/source/yptools/nsswitch.conf-nis
new file mode 100644
index 00000000..8f0805f0
--- /dev/null
+++ b/patches/source/yptools/nsswitch.conf-nis
@@ -0,0 +1,45 @@
+#
+# /etc/nsswitch.conf
+#
+# This is an example Name Service Switch config file with NIS+ and NIS
+# enabled. If you use these services, you can simply copy this file to
+# /etc/nsswitch.conf instead of doing a lot of editing.
+#
+# This file should be sorted with the most-used services at the beginning.
+#
+# The entry '[NOTFOUND=return]' means that the search for an
+# entry should stop if the search in the previous entry turned
+# up nothing. Note that if the search failed due to some other reason
+# (like no NIS server responding) then the search continues with the
+# next entry.
+#
+# Legal entries are:
+#
+# nisplus or nis+ Use NIS+ (NIS version 3)
+# nis or yp Use NIS (NIS version 2), also called YP
+# dns Use DNS (Domain Name Service)
+# files Use the local files
+# [NOTFOUND=return] Stop searching if not found so far
+#
+
+passwd: files nisplus nis
+shadow: files nisplus nis
+group: files nisplus nis
+
+hosts: files nisplus nis dns
+
+services: nisplus [NOTFOUND=return] files
+networks: nisplus [NOTFOUND=return] files
+protocols: nisplus [NOTFOUND=return] files
+rpc: nisplus [NOTFOUND=return] files
+ethers: nisplus [NOTFOUND=return] files
+netmasks: nisplus [NOTFOUND=return] files
+bootparams: nisplus [NOTFOUND=return] files
+
+netgroup: nisplus
+
+publickey: nisplus
+
+automount: files nisplus
+aliases: files nisplus
+