Download 86A243JX02-AIX 4.3 - Commands Reference

Transcript
Commands Reference, Volume 6
This command invokes the make procedure, which follows the instructions in the
/var/yp/Makefile file.
2. To set up an NIS slave server, enter:
ypinit −s zorro
In 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.
3. To set up an NIS master server without being prompted for input, enter:
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.
Files
/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.
Related Information
The chmaster command, chslave command, lsmaster command, makedbm command,
mkmaster command, mkslave command, yppush command, ypxfr command.
The ypserv daemon.
Network Information Services (NIS) Overview for System Management in AIX Version 4.3 Network
Information Services (NIS and NIS+) Guide.
NIS Reference.
ypinit Command
324