Skip to Content
Solaris™ 8 System Administrator's Reference
book

Solaris™ 8 System Administrator's Reference

by Janice Winsor
September 2000
Beginner content levelBeginner
1312 pages
33h 47m
English
Pearson
Content preview from Solaris™ 8 System Administrator's Reference

ypmake Rebuild NIS Database

Synopsis

cd /var/yp ; make [map]

Description

The file called Makefile in /var/yp is used by make(1) to build the Network Information Service (NIS) database. With no arguments, make creates dbm databases for any NIS maps that are out-of-date and then executes yppush(1M) to notify slave databases that there has been a change.

If you supply map on the command line, make updates only that map. Typing make passwd creates and runs yppush on the password database (assuming it is out-of-date). Likewise, make hosts and make networks create and run yppush on the host and network files, /etc/hosts and /etc/networks.

make uses three special variables.

  • DIR specifies the directory of the source files. The default is /etc.

  • NOPUSH ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Essential System Administration Pocket Reference

Essential System Administration Pocket Reference

Æleen Frisch

Publisher Resources

ISBN: 0130277010Purchase book