JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
System Administration Guide: Naming and Directory Services (NIS+)
search filter icon
search icon

Document Information


Part I About Naming and Directory Services

1.  Name Service Switch

Part II NIS+ Setup and Configuration

2.  NIS+: An Introduction

3.  NIS+ Setup Scripts

4.  Configuring NIS+ With Scripts

5.  Setting Up the NIS+ Root Domain

6.  Configuring NIS+ Clients

Introduction to NIS+ Client Configuration

Configuring the NIS+ Client

Security Considerations When Configuring the NIS+ Client

How to Configure an NIS+ Client

Setting Up DNS Forwarding in NIS+

How to Set Up DNS Forwarding in NIS+

Changing an NIS+ Machine's Domain Name

How to Change an NIS+ Client's Domain Name

Initializing an NIS+ Client

Broadcast Initialization in NIS+

Initializing an NIS+ Client by Using the Broadcast Method

How to Initialize an NIS+ Client by Broadcasting

Initializing an NIS+ Client by Using the Host Name Method

How to Initialize an NIS+ Client by Host Name

Initializing an NIS+ Client by Using the Cold-Start Method

How to Initialize an NIS+ Client With a Cold-Start File

NIS+ Client Configuration Summary

7.  Configuring NIS+ Servers

8.  Configuring an NIS+ Non-Root Domain

9.  Setting Up NIS+ Tables

Part III NIS+ Administration

10.  NIS+ Tables and Information

11.  NIS+ Security Overview

12.  Administering NIS+ Credentials

13.  Administering NIS+ Keys

14.  Administering Enhanced NIS+ Security Credentials

15.  Administering NIS+ Access Rights

16.  Administering NIS+ Passwords

17.  Administering NIS+ Groups

18.  Administering NIS+ Directories

19.  Administering NIS+ Tables

20.  NIS+ Server Use Customization

21.  NIS+ Backup and Restore

22.  Removing NIS+

23.  Information in NIS+ Tables

24.  NIS+ Troubleshooting

A.  NIS+ Error Messages

About NIS+ Error Messages

Common NIS+ Namespace Error Messages

B.  Updates to NIS+ During the Solaris 10 Release

Solaris 10 and NIS+



NIS+ Client Configuration Summary

Table 6-1 shows a summary of the steps required to configure a client named client1 in the domain. It assumes the simplest case, so be sure you are familiar with the more thorough task descriptions before you use this summary as a reference. For the sake of brevity, this summary does not show the responses to each command.

Table 6-1 Setting Up an NIS+ Client: Command Summary

Log in to domain's master.
Create DES credentials for client.
rootmaster% nisaddcred -p -P des
Ascertain the Diffie-Hellman .key length.
rootmaster% nisauthconf
Log in, as superuser, to the client.
client1% su


Assign the client a domain name.
client1# domainname

client1# domainname > /etc/defaultdomain

Check that the client's switch configuration file has the correct settings.
client1# more /etc/nsswitch.conf
Set the Diffie-Hellman key length.
client1# nisauthconf dh640-0 des
Clean out /var/nis.
client1# rm -rf /var/nis/*
Initialize the client.
client1# nisinit -c -H rootmaster
Remove the /etc/.rootkey file and restart the keyserver.
client1# svcadm disable network/rpc/keyserv

client1# rm -f /etc/.rootkey

client1# svcadm enable network/rpc/keyserv

Run keylogin on the client.
client1# keylogin -r password:
Reboot the client.
client1# reboot