HP-UX Reference (11i v1 00/12) - 1M System Administration Commands N-Z (vol 4)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1m/naaagt.1m
________________________________________________________________
___ ___
n
nisinit(1M) nisinit(1M)
/etc/hosts for this host when nisinit is invoked.
-B Specifies that the nisinit command should use an IP broadcast to locate a NIS+ server on the
local subnet. Any machine that is running the NIS+ service may answer. No guarantees are
made that the server that answers is a server of the organization’s namespace. If this option is
used, it is advisable to check with your system administrator that the server and domain served
are valid. The binding information can be dumped to the standard output using the
nisshowcache(1M) command.
Note that nisinit -c will just enable navigation of the NIS+ name space from this client. To
make NIS+ your name service, modify the file /etc/nsswitch.conf to reflect that. See
nsswitch.conf(4) for more details.
RETURN VALUE
nisinit returns 0 on success and 1 on failure.
EXAMPLES
This example initializesthe machine as an NIS+ client using the host freddy as a trusted server.
nisinit -cH freddy
This example sets up a client using a trusted coldstart file.
nisinit -cC /tmp/colddata
This example sets up a client using an IP broadcast.
nisinit -cB
This example sets up a root server.
nisinit -r
EXTERNAL INFLUENCES
Environment Variables
NETPATH This environment variable may be set to the transports to try when contacting the NIS+
server (see netconfig(4)). The client library will only attempt to contact the server using
connection oriented transports.
FILES
/var/nis/NIS_COLD_START
This file contains a list of servers, their transport addresses, and their Secure RPC
public keys that serve the machine’s default domain.
/var/nis/hostname/root.object
This file describes the root object of the NIS+ namespace. It is a standard XDR-
encoded NIS+ directory object that can be modified by authorized clients using the
nis_modify() interface.
/var/nis/hostname/parent.object
This file describes the namespace that is logically above the NIS+ namespace. The
most common type of parent object is a DNS object. This object contains contact
information for a server of that domain.
/etc/hosts Internet host table.
AUTHOR
nisinit was developed by Sun Microsystems, Inc.
SEE ALSO
nis+(1), uuencode(1), nisclient(1M), nisserver(1M), nisshowcache(1M), hosts(4), netconfig(4), nisfiles(4).
HP-UX Release 11i: December 2000 − 2 − Section 1M−−587
___
___