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

8.  Configuring an NIS+ Non-Root Domain

Setting Up an NIS+ Non-Root Domain

Standard Configuration and NIS-Compatible Configuration of an NIS+ Non-Root Domain

Security Considerations When Setting Up an NIS+ Non-Root Domain

How to Configure an NIS+ Non-Root Domain

NIS+ Subdomain Configuration Summary

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+ Subdomain Configuration Summary

Table 8-1 is a summary of the steps required to configure a non-root 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. This summary does not show the server's responses to each command.

Table 8-1 Setting Up a Subdomain Command Summary

Tasks
Commands
Log in as superuser to domain master.
smaster% su
Name the domain's admin group.
# NIS_GROUP=admin.sales.doc.com.

# export NIS_GROUP

Create the domain's directory and designate its servers.
# nismkdir -m smaster -s salesreplica sales.doc.com.
Create org_dir, groups_dir, and tables. (For NIS-compatibility, use -Y.)
# /usr/lib/nis/nissetup sales.doc.com.
Create the admin group.
# nisgrpadm -c admin.sales.doc.com.
Assign full group rights to the domain's directory.
# nischmod g+rmcd sales.doc.com.
Add servers to admin group.
# nisgrpadm -a admin.sales.doc.com. smaster.doc.com. sreplica.doc.com.
Add credentials for other admins.
# nisaddcred -p 22244 -P juan.sales.doc.com. local

# nisaddcred -p unix.22244@sales.doc.com. juan.sales.doc.com. DES

Add admins to domain's admin group.
# nisgrpadm -a admin.sales.doc.com. juan.sales.doc.com.