Sets up NIS maps on a Network Information Service (NIS) server.
/usr/sbin/ypinit [ -o ] [ -n ] [ -q ] -m [ SlaveName ... ]
/usr/sbin/ypinit -s MasterName
The ypinit command sets up NIS maps on a Network Information Server (NIS) master server or NIS slave server. Only users with root user authority can use the ypinit command.
By default, the ypinit command uses the ASCII system files as input files for the map being created.
ypinit -mThis command invokes the make procedure, which follows the instructions in the /var/yp/Makefile file.
ypinit -s zorroIn this example, the ypinit command copies the NIS maps onto your workstation from the NIS server named zorro , making your workstation an NIS slave server.
ypinit -o -n -q -m slave
Note: If the system has previously been configured as an NIS master server, You should ensure that the directory, /var/yp/binding, is removed before executing ypinit. If old information is stored in /var/yp/binding, it may cause errors to occur during configuration of the NIS master server.
/etc/bootparams | Lists clients that diskless clients can use for booting. |
/etc/passwd | Contains an entry for each user that has permission to log on to the machine. |
/etc/group | Contains an entry for each user group allowed to log on to the machine. |
/etc/hosts | Contains an entry for each host on the network. |
/var/yp/Makefile | Contains rules for making NIS maps. |
/etc/networks | Contains the name of each network in the DARPA Internet. |
/etc/netmasks | Lists network masks used to implement IP standard subnetting. |
/etc/netid | Contains identification information for machines, hosts, and groups. |
/etc/rpc | Contains map information for RPC programs. |
/etc/services | Contains an entry for each server available through the Internet. |
/etc/protocols | Defines Internet protocols used on the local host. |
/etc/netgroup | Contains information about each user group on the network. |
/etc/ethers | Contains the Ethernet addresses of hosts on the Internet network. |
/etc/publickey | Contains public or secret keys for NIS maps. |
The chmaster command, chslave command, lsmaster command, makedbm command, mkmaster command, mkslave command, yppush command, ypxfr command.
The ypserv daemon.
Network Information Service (NIS) Overview for System Management, Network File System (NFS) Overview for System Management, Benefits of NIS, Maintaining NIS, How to Configure NIS in AIX Version 4.3 System Management Guide: Communications and Networks.