1ypmake(1M) System Administration Commands ypmake(1M)
2
3
4
6 ypmake - rebuild NIS database
7
9 cd /var/yp ; make [map]
10
11
13 The file called Makefile in /var/yp is used by make(1S) to build the
14 Network Information Service (NIS) database. With no arguments, make
15 creates dbm databases for any NIS maps that are out-of-date, and then
16 executes yppush(1M) to notify slave databases that there has been a
17 change.
18
19
20 If you supply a map on the command line, make will update that map
21 only. Typing make passwd will create and yppush the password database
22 (assuming it is out of date). Likewise, make ipnodes and make networks
23 will create and yppush the ipnodes and network files, $(INETDIR)/ipn‐
24 odes and $(DIR)/networks.
25
26
27 There are four special variables used by make: DIR, which gives the
28 directory of the source files; NOPUSH, which when non-null inhibits
29 doing a yppush of the new database files; INETDIR, which gives the
30 directory of the ipnodes source file; and DOM, which is used to con‐
31 struct a domain other than the master's default domain. The default for
32 DIR is /etc, and the default for INETDIR is /etc/inet. The default for
33 NOPUSH is the null string.
34
35
36 Refer to ypfiles(4) and ypserv(1M) for an overview of the NIS service.
37
38
39 If a NIS to LDAP (N2L) configuration file, /var/yp/NISLDAPmapping, is
40 present, the NIS server components run in N2L mode. In N2L mode, the
41 server components use a new set of map files with an LDAP-prefix, based
42 on the LDAP DIT. In N2L mode, authoritative NIS information is obtained
43 from the DIT. The NIS source files and ypmake have no role, and they
44 should not be used. If ypmake is accidentally run, then the server com‐
45 ponents will detect this, and will log a warning message. For addi‐
46 tional information, see ypfiles(4).
47
49 /var/yp Directory containing NIS configuration files.
50
51
52 /etc/inet/hosts System hosts file.
53
54
55 /etc Default directory for source files.
56
57
59 See attributes(5) for descriptions of the following attributes:
60
61
62
63
64 ┌─────────────────────────────┬─────────────────────────────┐
65 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
66 ├─────────────────────────────┼─────────────────────────────┤
67 │Availability │SUNWypu │
68 ├─────────────────────────────┼─────────────────────────────┤
69 │Interface Stability │Evolving │
70 └─────────────────────────────┴─────────────────────────────┘
71
73 make(1S), nis+[22m(1), makedbm(1M), rpc.nisd(1M), ypbind(1M), yppush(1M),
74 ypserv(1M), ypclnt(3NSL), NISLDAPmapping(4), ypfiles(4), ypserv(4)
75
77 The NIS makefile is only used when running the ypserv(1M) server to
78 provide NIS services. If these are being provided by the NIS+ server
79 running in NIS compatibility mode, see rpc.nisd(1M); this makefile is
80 not relevant. See ypfiles(4) for more details.
81
82
83 The Network Information Service (NIS) was formerly known as Sun Yellow
84 Pages (YP). The functionality of the two remains the same. Only the
85 name has changed. The name Yellow Pages is a registered trademark in
86 the United Kingdom of British Telecommunications plc, and may not be
87 used without permission.
88
89
90
91SunOS 5.11 17 Aug 2006 ypmake(1M)