nsswitch.conf
authorOwen Smith <owen@omsmith.ca>
Wed, 15 May 2013 05:51:29 +0000 (01:51 -0400)
committerOwen Smith <owen@omsmith.ca>
Wed, 15 May 2013 05:51:29 +0000 (01:51 -0400)
bootstrap.sh
templates/nsswitch.conf [new file with mode: 0644]

index 51cc7cb..a69842f 100755 (executable)
@@ -37,3 +37,6 @@ inapt packages/*.ia
 read -p "ip? 129.97.134." IP_SUFFIX
 sed "s/_IP_SUFFIX/$IP_SUFFIX/" < ./templates/interfaces > /etc/network/interfaces
 
+# nsswitch
+cp ./templates/nsswitch.conf /etc/nsswitch.conf
+
diff --git a/templates/nsswitch.conf b/templates/nsswitch.conf
new file mode 100644 (file)
index 0000000..05e0f1d
--- /dev/null
@@ -0,0 +1,19 @@
+# /etc/nsswitch.conf
+#
+# Example configuration of GNU Name Service Switch functionality.
+# If you have the `glibc-doc-reference' and `info' packages installed, try:
+# `info libc "Name Service Switch"' for information about this file.
+
+passwd:         files ldap
+group:          files ldap
+sudoers:        files ldap
+shadow:         files ldap
+
+hosts:          files dns
+networks:       files
+
+protocols:      db files
+services:       db files
+ethers:         db files
+rpc:            db files
+