DOCUMENT ID: 1259-02 SYNOPSIS: Root master server and one client as a nisplus environment OS RELEASE: 2.4 PRODUCT: Solaris x86 KEYWORDS: nisplus root master server SYMPTOMS: This is a quick guideline to show which commands to use to set up an nisplus environment on X86 2.4. Refer to the manpages and nisplus online documentation for full details. Reading NIS+ QuickStart online documentation from answerbook is recommended. DESCRIPTION: You want to set up an nisplus environment and need to know where to start. This procedure will guide you to set up a bare minimum configuration of nisplus using one standalone system as a nisplus root master server and the other as nisplus client. SOLUTION: 1. Decide on - your domain name, - which system will be your root master server for nisplus configuration, - which system will be your nisplus client. This example assumes the following: domainname: market.com nisplus root master server hostname: peach nisplus client hostname: kiwi 2. Log into your root master server peach as root. a. add /usr/lib/nis in your PATH. b. domainname market.com c. domainname > /etc/defaultdomain d. nisserver -r -d market.com. creating a root master server without YP compatibility (you need -Y option otherwise). note your domainname should end with . here e. nispopulate -F -p /etc -d market.com. assuming files under /etc are ready to be populated. The default files include: networks, passwd, protocols, services, auto_home, auto_master, ethers, group, hosts, rpc, netmasks, bootparams, netgroup, aliases. f. nisping -C market.com. At this point, you should be able to run this command successfully to make a checkpoint of the NIS+ database. 3. Log into your nisplus client system as root. a. nisclient -i -d market.com. -h peach Initialize a new client machine. 4. Now you should be able to test out normal operations like ping, rlogin, etc. Note that, if you are setting up automount of /home directory, you must manually share your nfs server's local home directory (like /export/home or /usr1, etc) by editing /etc/dfs/dfstab. Choosing "autohome" in admintool "AddUser" doesn't export the directory. DATE APPROVED: 02/15/95