[Lunar-commits] r14982 - lunar-iso/trunk/template/etc

Auke Kok sofar at lunar-linux.org
Tue May 24 13:34:08 UTC 2005


Author: sofar
Date: 2005-05-24 13:34:06 +0000 (Tue, 24 May 2005)
New Revision: 14982

Added:
   lunar-iso/trunk/template/etc/host.conf
   lunar-iso/trunk/template/etc/hosts
   lunar-iso/trunk/template/etc/nsswitch.conf
Log:
Add these ultra-vital missing files.


Added: lunar-iso/trunk/template/etc/host.conf
===================================================================
--- lunar-iso/trunk/template/etc/host.conf	2005-05-24 12:45:30 UTC (rev 14981)
+++ lunar-iso/trunk/template/etc/host.conf	2005-05-24 13:34:06 UTC (rev 14982)
@@ -0,0 +1,2 @@
+order hosts,bind
+multi on

Added: lunar-iso/trunk/template/etc/hosts
===================================================================
--- lunar-iso/trunk/template/etc/hosts	2005-05-24 12:45:30 UTC (rev 14981)
+++ lunar-iso/trunk/template/etc/hosts	2005-05-24 13:34:06 UTC (rev 14982)
@@ -0,0 +1,10 @@
+#
+# hosts         This file describes a number of hostname-to-address
+#               mappings for the TCP/IP subsystem.  It is mostly
+#               used at boot time, when no name servers are running.
+#               On small systems, this file can be used instead of a
+#               "named" name server.  Just add the names, addresses
+#               and any aliases to this file...
+#
+127.0.0.1       localhost
+

Added: lunar-iso/trunk/template/etc/nsswitch.conf
===================================================================
--- lunar-iso/trunk/template/etc/nsswitch.conf	2005-05-24 12:45:30 UTC (rev 14981)
+++ lunar-iso/trunk/template/etc/nsswitch.conf	2005-05-24 13:34:06 UTC (rev 14982)
@@ -0,0 +1,53 @@
+#
+# /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
+#   db                  Use the local database (.db) files
+#   compat              Use NIS on compat mode
+#   [NOTFOUND=return]   Stop searching if not found so far
+#
+
+# To use db, put the "db" in front of "files" for entries you want to be
+# looked up first in the databases
+#
+# Example:
+#passwd:    db files nisplus nis
+#shadow:    db files nisplus nis
+#group:     db files nisplus nis
+
+passwd:     files nisplus nis
+shadow:     files nisplus nis
+group:      files nisplus nis
+
+#hosts:     db files nisplus nis dns
+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
+



More information about the Lunar-commits mailing list