summaryrefslogtreecommitdiffstats
path: root/etc/nsswitch.conf
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2011-08-10 20:52:02 +0000
committerdougb <dougb@FreeBSD.org>2011-08-10 20:52:02 +0000
commitf0662c2435d3c09b6b7af55f66bc45033d6ee4ec (patch)
tree6c6c1e08cfa187bbd34550b1f28814189aceeb20 /etc/nsswitch.conf
parent0043c1697f383547da5956eaac65f169969f0b32 (diff)
downloadFreeBSD-src-f0662c2435d3c09b6b7af55f66bc45033d6ee4ec.zip
FreeBSD-src-f0662c2435d3c09b6b7af55f66bc45033d6ee4ec.tar.gz
Revert r224760, and enhance the sed patterns from r224659 to comment out
the _compat entries in the WITHOUT_NIS case rather then delete them. Approved by: re (kib)
Diffstat (limited to 'etc/nsswitch.conf')
-rw-r--r--etc/nsswitch.conf22
1 files changed, 7 insertions, 15 deletions
diff --git a/etc/nsswitch.conf b/etc/nsswitch.conf
index ab27fb9..c95b9a4 100644
--- a/etc/nsswitch.conf
+++ b/etc/nsswitch.conf
@@ -1,23 +1,15 @@
#
+# nsswitch.conf(5) - name service switch configuration file
# $FreeBSD$
#
-# To enable NIS the commented entries should replace their uncommented
-# equivalents. See nsswitch.conf(5) for more information.
-#
-group: files
-#group_compat: nis
-#group: compat
-
-passwd: files
-#passwd_compat: nis
-#passwd: compat
-
-services: files
-#services_compat: nis
-#services: compat
-
+group: compat
+group_compat: nis
hosts: files dns
networks: files
+passwd: compat
+passwd_compat: nis
shells: files
+services: compat
+services_compat: nis
protocols: files
rpc: files
OpenPOWER on IntegriCloud