summaryrefslogtreecommitdiff
path: root/system/nss-mysql/config
diff options
context:
space:
mode:
Diffstat (limited to 'system/nss-mysql/config')
-rw-r--r--system/nss-mysql/config/nsswitch-mysql.conf39
1 files changed, 39 insertions, 0 deletions
diff --git a/system/nss-mysql/config/nsswitch-mysql.conf b/system/nss-mysql/config/nsswitch-mysql.conf
new file mode 100644
index 0000000000..d081f675bf
--- /dev/null
+++ b/system/nss-mysql/config/nsswitch-mysql.conf
@@ -0,0 +1,39 @@
+#
+# /etc/nsswitch.conf
+#
+# An example Name Service Switch config file. 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 mysql
+shadow: files mysql
+group: files mysql
+
+hosts: files dns
+networks: files dns
+
+services: files
+protocols: files
+rpc: files
+ethers: files
+netmasks: files
+netgroup: files
+bootparams: files
+
+automount: files
+aliases: files
+