Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ypmake(1M) — A/UX 3.0.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

makedbm(1M)

ypinit(1M)

yppush(1M)

ypserv(1M)

make(1)




ypmake(1M) ypmake(1M)
NAME ypmake - rebuilds the Network Information Service (NIS) maps SYNOPSIS cd /etc/yp; make [set-name] [variable=value...] ARGUMENTS set-name Specifies a set of maps. If you use a set-name argument, make rebuilds and runs yppush for the maps in the set specified by set-name only. The value of set-name can be group, hosts, networks, passwd, protocols, or services. variable=value Sets the value of one of three make environment variables: DIR=directory Specifies the directory to search for the source files that are used to generate the NIS maps. The default directory is /etc. DOM=domain-name Specifies the name of the domain for which to rebuild the NIS maps. The maps are built in the directory /etc/yp/domain-name. The default value of DOM is the current domain name as obtained from running the domainname command. NOPUSH=number When the value of NOPUSH is non-null, make does not run yppush to notify the slave servers that a map has changed. The default value of NOPUSH is the null string. DESCRIPTION /etc/yp contains the file Makefile that is used by make to rebuild the NIS maps on the master server. With no arguments, make runs makedbm to rebuild those maps that are out-of-date with their corresponding source files in /etc and then runs yppush to notify slave servers that there has been a change. During the make process, files are created with the extension of .time. These files are used by the file Makefile to determine which databases to rebuild. Two commands, stdhosts and revnetgroup, are used exclusively by Makefile to reformat certain files before running makedbm. January 1992 1



ypmake(1M) ypmake(1M)
EXAMPLES This command line rebuilds all the maps that are out-of-date and runs yppush: make This command line rebuilds the password maps, assuming that they are out-of-date, and runs yppush: make passwd This command line uses files in /tmp to make the host maps for a domain called mydomain but does not run yppush: make hosts DIR=/tmp DOM=mydomain NOPUSH=1 FILES /etc/yp/aliases.time File that tells make whether the alias maps are out- of-date /etc/yp/ethers.time File that tells make whether the ether maps are out- of-date /etc/yp/group.time File that tells make whether the group maps are out- of-date /etc/yp/hosts.time File that tells make whether the hosts maps are out- of-date /etc/yp/Makefile File that tells make how to rebuild the maps /etc/yp/networks.time File that tells make whether the network maps are out- of-date /etc/yp/passwd.time File that tells make whether the password maps are out-of-date /etc/yp/protocols.time File that tells make whether the protocols maps are out-of-date /etc/yp/revnetgroup Executable file that reverses the fields in the netgroup file /etc/yp/rpc.time File that tells make whether the remote procedure call (RPC) maps are out-of-date /etc/yp/services.time File that tells make whether the service maps are out- of-date /etc/yp/stdhosts Executable file that converts Internet addresses to a standard form 2 January 1992



ypmake(1M) ypmake(1M)
SEE ALSO makedbm(1M), ypinit(1M), yppush(1M), ypserv(1M) make(1) in A/UX Command Reference Chapter 4, ``Setting Up the Network Information Service,'' in A/UX Network System Administration January 1992 3

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