Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ nis.conf(5) — NEWS-os 4.2.1R

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ethers(3N)

getnetent(3N)

getprotoent(3N)

getrpcent(3N)

getservent(3N)

ypfiles(5)

bootparamd(8)

ypserv(8)

NIS.CONF(5)  —  NEWS-OS Programmer’s Manual

NAME

nis.conf − NIS configuration file

SYNOPSIS

/etc/nis.conf

DESCRIPTION

NIS (Network Information Service) provides a simple information service for administration of network information (see ypserv(8)).  If the ypbind is not running on client machine, the files on localhost (most of them are in /etc directory) are used.  Otherwise the NIS database is consulted.  NIS configuration file contains information to change the default database used to lookup.  The file is designed to be human readable and contains a list of names of database with values that determine whether using NIS or the file on localhost.  The name of database and value must appear a single line, and the name of database must start the line.  The value will be one of local or nis. The value follows the name of database, separated by white space or tab character. A “#” indicates the beginning of comment; charaters up to the end of the line will be ignored. If both of local and nis are appeared as the value, the lookup will be done in specified order.  If neither of them are specified, all lookup will be failed.  For example, the descriptions are as follows:
servicesnis local
In this case, NIS database is used for lookup first. If there are no entries matched, the file “/etc/services” are searched for lookup. The service, as getnetent(3N), which reads the entry one by one, will return the contents of NIS database and the file “/etc/services” are merged in this order.  If the /etc/nis.conf is not exist or no names of databases are matched, only the NIS database is used when ypbind is running.  If not running, only the file on localhost is searched. 

FILES

/etc/nis.conf

SEE ALSO

ethers(3N), getnetent(3N), getprotoent(3N), getrpcent(3N), getservent(3N), ypfiles(5), bootparamd(8), ypserv(8)

BUGS

Currently, only the name of database shown below are effective. 

bootparams, ethers, networks, protocols, rpc, services

The function to add the description for any databases should be supported. 

NEWS-OSRelease 4.2.1R

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026