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

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

NIS+ Directories

Using the niscat Command With NIS+ Directories

Listing the Object Properties of an NIS+ Directory

Using the nisls Command With Directories

Listing the Contents of an NIS+ Directory - Terse

Listing the Contents of an NIS+ Directory - Verbose

nismkdir Command

Creating an NIS+ Directory

Adding an NIS+ Replica to an Existing Directory

nisrmdir Command

Removing an NIS+ Directory

Disassociating a Replica From an NIS+ Directory

nisrm Command

Removing NIS+ Nondirectory Objects

rpc.nisd Daemon

Starting the rpc.nisd Daemon

Stopping the rpc.nisd Daemon

Changing rpc.nisd Syntax Options

nisinit Command

Three Methods to Initialize an NIS+ Client

Initializing the NIS+ Root Master Server

nis_cachemgr Daemon

Starting and Stopping the NIS+ Cache Manager

nisshowcache Command

Displaying the Contents of the NIS+ Cache

Pinging and Checkpointing in NIS+

nisping Command

Displaying When NIS+ Replicas Were Last Updated

Forcing a Ping in NIS+

Checkpointing an NIS+ Directory

nislog Command

Displaying the Contents of the NIS+ Transaction Log

nischttl Command

Changing the Time-to-Live of an NIS+ Object

Changing the Time-to-Live of an NIS+ Table Entry

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

nislog Command

The nislog command displays the contents of the transaction log.

/usr/sbin/nislog 
/usr/sbin/nislog -h [number]
/usr/sbin/nislog -t [number]

Table 18-5 Options for the nislog Command

Option
Purpose
-h [num]
Display transactions starting with the head (beginning) of the log. If the number is omitted, the display begins with the first transaction. If the number 0 is entered, only the log header is displayed.
-t [num]
Display transactions starting backward from the end (tail) of the log. If the number is omitted, the display begins with the last transaction. If the number 0 is entered, only the log header is displayed.
-v
Verbose mode.

Displaying the Contents of the NIS+ Transaction Log

Each transaction consists of two parts: the particulars of the transaction and a copy of an object definition.

Here is an example that shows the transaction log entry that was made when the doc.com. directory was first created. “XID” refers to the transaction ID.

rootmaster# /usr/sbin/nislog -h 1
NIS Log printing facility.
NIS Log dump:
 Log state : STABLE
Number of updates : 48
Current XID : 39
Size of log in bytes : 18432
***UPDATES***
@@@@@@@@@@@@@@TRANSACTION@@@@@@@@@@@@@@
#00000, XID : 1
Time : Wed Nov 25 10:50:59 1992
Directory : doc.com.
Entry type : ADD Name
Entry timestamp : Wed Nov 25 10:50:59 1992
Principal : rootmaster.doc.com.
Object name : org_dir.doc.com.
...................Object......................
Object Name : org_dir
Owner : rootmaster.doc.com.
Group : admin.doc.com.
Domain : doc.com.
Access Rights : r---rmcdr---r---
Time to Live : 24:0:0
Object Type : DIRECTORY
Name : `org_dir.doc.com.'
Type: NIS
Master Server : rootmaster.doc.com.
.
.
................................................
@@@@@@@@@@@@@@TRANSACTION@@@@@@@@@@@@@@
#00000, XID : 2