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

Preface

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

7.  Configuring NIS+ Servers

Setting Up an NIS+ Server

NIS+ Standard Configuration and NIS-Compatible Configuration of an NIS+ Server

Security Considerations When Configuring NIS+ Servers

Prerequisites to Configuring NIS+ Servers

Information You Need to Configure an NIS+ Server

How to Configure an NIS+ Server

Adding a Replica to an Existing NIS+ Domain

Using NIS+ Commands to Configure a Replica Server

How to Configure a Replica Server With NIS+ Commands

Using nisrestore to Load Data Onto an NIS+ Replica Server

How to Load NIS+ Namespace Data by Using the nisrestore Command

Using nisping to Load Data Onto an NIS+ Replica Server

How to Load NIS+ Namespace Data by Using the nisping Command

NIS+ Server Configuration Summary

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+

Glossary

Index

NIS+ Server Configuration Summary

Table 7-2 and Table 7-1 provide a summary of the tasks described in this chapter. They assume the simplest cases, so be sure you are familiar with the more thorough task descriptions before you use this summary as a reference. This summary does not show the server's responses to each command.

Table 7-1 Adding an NIS+ Replica Named replica2 to doc.com.: Command Summary

Tasks
Commands
Log in as superuser to domain master.
master1% su
Designate the new replica.
# nismkdir -s replica2 doc.com.

# nismkdir -s replica2 org_dir.doc.com.

# nismkdir -s replica2 groups_dir.doc.com.

Ping the replica.
# /usr/lib/nis/nisping doc.com.

# /usr/lib/nis/nisping org_dir.doc.com.

# /usr/lib/nis/nisping groups_dir.doc.com.


Note - Rather than using nisping to transfer data to the new replica, as shown in the example above, an easier method is to use the NIS+ backup and restore capability, as described in Using nisrestore to Load Data Onto an NIS+ Replica Server.


Table 7-2 Starting Up an NIS+ -Root Master Server: Command Summary

Tasks
Commands
Log in to the server as root.
server% su
[NIS-compat only]

Start the daemon with -Y; include -B if you want DNS forwarding.

Edit the /lib/svc/method/nisplus file to add the desired options, then restart the service, as follows.

# svcadm restart network/rpc/nisplus

[NIS+ Only]

Start the daemon.

# svcadm enable network/rpc/nisplus