HP-UX Reference (11i v3 07/02) - 1M System Administration Commands N-Z (vol 4)
y
ypmake(1M) ypmake(1M)
0 Normal termination; no problems.
1 One or more unrecognized arguments were passed.
2 The NIS domain name is not set.
3 The subdirectory used to contain maps for a specific NIS domain,
/var/yp/domain_name
,
does not exist or is not writable.
4 An error was encountered when building at least one of the maps.
5 One or more maps’ ASCII files do not exist or are unreadable.
EXAMPLES
Create or rebuild the password databases (both the
passwd.byname and passwd.byuid maps) from
/etc/passwd and use yppush to copy the databases to any slave NIS servers in the default NIS
domain:
ypmake passwd.byname
Create or rebuild the hosts databases from /etc/hosts
but do not copy the databases to any slave NIS
servers:
ypmake hosts NOPUSH=1
Create or rebuild the network maps from /nis/sourcefiles/networks
and copy the maps to any
slave NIS servers in NIS domain
DAE_NIS:
ypmake DOM=DAE_NIS networks DIR=/nis/sourcefiles
AUTHOR
ypmake was developed by Sun Microsystems, Inc.
FILES
/etc/group
/etc/hosts
/etc/netgroup
/etc/networks
/etc/passwd
/etc/protocols
/etc/publickey
/etc/rpc
/etc/services
SEE ALSO
domainname(1), make(1), makedbm(1M), ypinit(1M), yppush(1M), ypserv(1M), group(4), hosts(4), net-
group(4), networks(4), passwd(4), protocols(4), publickey(4), rpc(4), services(4), ypfiles(4).
678 Hewlett-Packard Company − 2 − HP-UX 11i Version 3: February 2007