HP-UX Reference (11i v2 04/09) - 1M System Administration Commands N-Z (vol 4)
y
ypmake(1M) ypmake(1M)
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).
HP-UX 11i Version 2: September 2004 − 2 − Hewlett-Packard Company Section 1M−−951