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

About NIS+ Access Rights

Introduction to NIS+ Authorization and Access Rights

NIS+ Authorization Classes - Review

NIS+ Access Rights - Review

Concatenation of NIS+ Access Rights

How NIS+ Access Rights Are Assigned and Changed

Specifying Different Default Rights in NIS+

Changing Access Rights to an Existing NIS+ Object

NIS+ Table, Column, and Entry Security

NIS+ Table, Column, Entry Example

NIS+ Rights at Different Levels

Where NIS+ Access Rights Are Stored

Viewing an NIS+ Object's Access Rights

Default NIS+ Access Rights

How an NIS+ Server Grants Access Rights to Tables

Specifying NIS+ Access Rights in Commands

NIS+ Syntax for Access Rights

NIS+ Class, Operator, and Rights Syntax

NIS+ Syntax for Owner and Group

NIS+ Syntax for Objects and Table Entries

Displaying NIS+ Defaults With nisdefaults

Setting NIS+ Default Security Values

Displaying the Value of the NIS+ NIS_DEFAULTS Variable

Changing NIS+ Defaults

Resetting the Value of NIS_DEFAULTS

Specifying Non-Default Security Values at Creation Time in NIS+

Changing NIS+ Object and Entry Access Rights

Using nischmod to Add NIS+ Rights

Using nischmod to Remove NIS+ Rights

Specifying Column Access Rights in NIS+

Setting Column Rights When Creating an NIS+ Table

Adding Rights to an Existing NIS+ Table Column

Removing Rights to an NIS+ Table Column

Changing Ownership of NIS+ Objects and Entries

Changing an NIS+ Object Owner With nischown

Changing an NIS+ Table Entry Owner With nischown

Changing an NIS+ Object or Entry's Group

Changing an NIS+ Object's Group With nischgrp

Changing an NIS+ Table Entry's Group With nischgrp

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

Displaying NIS+ Defaults With nisdefaults

The nisdefaults command displays the seven default values currently active in the namespace. These default values are either

Any object that you create on this machine will automatically acquire these default values unless you override them with the -D option of the command you are using to create the object.

Table 15-9 NIS+ Default Values and nisdefaults Options

Default
Option
From
Description
Domain
-d
/etc/defaultdomain
Displays the home domain of the machine from which the command was entered.
Group
-g
NIS_GROUP environment variable
Displays the group that would be assigned to the next object created from this shell.
Host
-h
uname -n
Displays the machine's host name.
Principal
-p
gethostbyname()
Displays the fully qualified user name or host name of the NIS+ principal who entered the nisdefaults command.
Access Rights
-r
NIS_DEFAULTS environment variable
Displays the access rights that will be assigned to the next object or entry created from this shell. Format: ----rmcdr---r---
Search path
-s
NIS_PATH environment variable
Displays the syntax of the search path, which indicate the domains that NIS+ will search through when looking for information. Displays the value of the NIS_PATH environment variable if it is set.
Time-to-live
-t
NIS_DEFAULTS environment variable
Displays the time-to-live that will be assigned to the next object created from this shell. The default is 12 hours.
All (terse)
-a
Displays all seven defaults in terse format.
Verbose
-v
Display specified values in verbose mode.

You can use these options to display all default values or any subset of them: