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

About NIS+

What NIS+ Can Do for You

How NIS+ Differs From NIS

NIS+ Security

Solaris 1 Release and NIS-Compatibility Mode

NIS+ Administration Commands

NIS+ API

NIS+ Setup and Configuration Preparation

NIS and NIS+

NIS+ Files and Directories

Structure of the NIS+ Namespace

NIS+ Namespace Directories

NIS+ Domains

NIS+ Servers

How NIS+ Servers Propagate Changes

NIS+ Clients and Principals

NIS+ Principal

NIS+ Client

NIS+ Cold-Start File and Directory Cache

An NIS+ Server Is Also a Client

NIS+ Naming Conventions

NIS+ Domain Names

NIS+ Directory Object Names

NIS+ Tables and Group Names

NIS+ Table Entry Names

NIS+ Host Names

NIS+ Principal Names

Accepted Name Symbols in NIS+

NIS+ Name Expansion

NIS+ NIS_PATH Environment Variable

Preparing the Existing Namespace for NIS+

Two NIS+ Configuration Methods

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

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+ Administration Commands

NIS+ provides a full set of commands for administering a namespace. The table below, summarizes them.


Note - Most of the command line administrative tasks associated with the NIS+ service are managed by the Service Management Facility (SMF). For details about using SMF with NIS+, see NIS+ and the Service Management Facility. For an overview of SMF, refer to Chapter 18, Managing Services (Overview), in System Administration Guide: Basic Administration. Also refer to the svcadm(1M) and svcs(1) man pages for more details.


Table 2-2 NIS+ Namespace Administration Commands

Command
Description
nisaddcred
Creates credentials for NIS+ principals and stores them in the cred table.
nisaddent
Adds information from /etc files or NIS maps into NIS+ tables.
nisauthconf
Optionally configure Diffie-Hellman key length.
nisbackup
Backs up NIS directories.
nis_cachemgr
Starts the NIS+ cache manager on an NIS+ client.
niscat
Displays the contents of NIS+ tables.
nis_checkpoint
Forces service to checkpoint data that has been entered in the log but not checkpointed to disk.
nischgrp
Changes the group owner of an NIS+ object.
nischmod
Changes an object's access rights.
nischown
Changes the owner of an NIS+ object.
nischttl
Changes an NIS+ object's time-to-live value.
nisclient
Initializes NIS+ principals.
nisdefaults
Lists an NIS+ object's default values: domain name, group name, machine name, NIS+ principal name, access rights, directory search path, and time-to-live.
nisgrep
Searches for entries in an NIS+ table.
nisgrpadm
Creates or destroys an NIS+ group, or displays a list of its members. Also adds members to a group, removes them, or tests them for membership in the group.
nisinit
Initializes an NIS+ client or server.
nisln
Creates a symbolic link between two NIS+ tables.
nislog
Displays the contents of NIS+ transaction log.
nisls
Lists the contents of an NIS+ directory.
nismatch
Searches for entries in an NIS+ table.
nismkdir
Creates an NIS+ directory and specifies its master and replica servers.
nispasswd
Changes password information stored in the NIS+ passwd table. (Rather than using nispasswd, you should use passwd or passwd -r nisplus.)
nis_ping
Forces a replica to update its data from the master server.
nispopulate
Populates the NIS+ tables in a new NIS+ domain.
nisprefadm
Specifies the order in which clients are to seek NIS+ information from NIS+ servers.
nisrestore
Restores previously backed up NIS+ directories and can also be used to quickly bring online new NIS+ replica servers.
nisrm
Removes NIS+ objects (except directories) from the namespace.
nisrmdir
Removes NIS+ directories and replicas from the namespace.
nisserver
Shell script used to set up a new NIS+ server.
nissetup
Creates org_dir and groups_dir directories and a complete set of (unpopulated) NIS+ tables for an NIS+ domain.
nisshowcache
Lists the contents of the NIS+ shared cache maintained by the NIS+ cache manager.
nisstat
Reports statistics and other information about an NIS+ server.
nistbladm
Creates or deletes NIS+ tables, and adds, modifies or deletes entries in an NIS+ table.
nistest
Reports the current state of the NIS+ namespace.
nisupdkeys
Updates the public keys stored in an NIS+ object.
passwd
Changes password information stored in the NIS+ Passwd table. Also administers password aging and other password-related parameters.