From f1a39bf4061fb0ce94f1b304c4c494b1688ba5af Mon Sep 17 00:00:00 2001 From: lukem Date: Sat, 16 Jan 1999 14:25:47 +0000 Subject: [PATCH] install sample nsswitch.conf --- etc/Makefile | 4 ++-- etc/nsswitch.conf | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 etc/nsswitch.conf diff --git a/etc/Makefile b/etc/Makefile index e70076b8efb9..d78004bf0086 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.93 1999/01/06 06:08:37 abs Exp $ +# $NetBSD: Makefile,v 1.94 1999/01/16 14:25:47 lukem Exp $ # from: @(#)Makefile 8.7 (Berkeley) 5/25/95 # XXX: For NO_SENDMAIL and USE_BIND4 @@ -29,7 +29,7 @@ BIN1+= aliases bootptab changelist csh.cshrc csh.login \ ftpusers ftpwelcome gettytab group hosts hosts.lpd \ inetd.conf ld.so.conf lkm.conf mailer.conf man.conf \ monthly monthly.conf mrouted.conf netstart networks \ - newsyslog.conf phones printcap profile protocols \ + newsyslog.conf nsswitch.conf phones printcap profile protocols \ rbootd.conf rc rc.conf rc.lkm rc.local rc.subr \ rc.shutdown remote rpc security security.conf services \ shells syslog.conf weekly weekly.conf etc.${MACHINE}/ttys \ diff --git a/etc/nsswitch.conf b/etc/nsswitch.conf new file mode 100644 index 000000000000..f9271a154820 --- /dev/null +++ b/etc/nsswitch.conf @@ -0,0 +1,23 @@ +# $NetBSD: nsswitch.conf,v 1.1 1999/01/16 14:25:47 lukem Exp $ +# +# name service switch configuration file +# + +# lookup hosts in /etc/hosts then from the DNS +hosts: files dns + +# uncomment to support `+/-' compat mode in /etc/passwd and /etc/group +# defaults to `files' +#passwd: compat +#passwd_compat: nis +#group: compat +#group_compat: nis + +# lookup netgroups in /etc/netgroup.db +netgroup: files + +# lookup networks in /etc/networks +networks: files + +# lookup shells in /etc/shells +shells: files