Skip to Content
Sun and Oracle
Channel Sun
How to Buy
Log In
简体中文
docs.sun.com 主页
>
Solaris 10 System Administrator Collection
> System Administration Guide: Naming and Directory Services (NIS+)
System Administration Guide: Naming and Directory Services (NIS+)
只搜寻这本书
搜索帮助
查看这本书:
其他语言
日本語
包含在
Solaris 10 System Administrator Collection
查找更多文档
浏览文档标题
浏览产品文档
专项支持资源
Sun 培训课程
BigAdmin 系统管理门户
Sun 支持中心
Sun Solve
以 PDF 格式下载本书 (2294 KB)
System Administration Guide: Naming and Directory Services (NIS+)
Index
Numbers and Symbols
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
R
S
T
U
V
W
X
Y
Book Information
Preface
Who Should Use This Book
How This Book Is Organized
How the System Administration Volumes Are Organized
Related Books
Accessing Sun Documentation Online
Ordering Sun Documentation
Typographic Conventions
Shell Prompts in Command Examples
About Naming and Directory Services
1. The Name Service Switch
About the Name Service Switch
The nsswitch.conf Template Files
Selecting a Different Configuration File
Modifying the name service switch
How to Enable an NIS+ Client to Use IPv6
Ensuring Compatibility With +/- Syntax
The Switch File and Password Information
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.x Releases and NIS-Compatibility Mode
NIS+ Administration Commands
NIS+ API
Setup and Configuration Preparation
NIS+ Files and Directories
Structure of the NIS+ Namespace
NIS+ Namespace Directories
NIS+ Domains
NIS+ Servers
NIS+ Clients and Principals
Naming Conventions
NIS_PATH Environment Variable
Preparing the Existing Namespace
Two Configuration Methods
3. NIS+ Setup Scripts
About the NIS+ Scripts
What the NIS+ Scripts Will Do
What the NIS+ Scripts Will Not Do
4. Configuring NIS+ With Scripts
NIS+ Configuration Overview
Creating a Sample NIS+ Namespace
Setting Up NIS+ Root Servers
Prerequisites to Running nisserver to Set Up a Root Server
How to Create a Root Master Server
How to Change Incorrect Information
How to Set Up a Multihomed NIS+ Root Master Server
Populating NIS+ Tables
Prerequisites to Running nispopulate to Populate Root Server Tables
How to Populate the Root Master Server Tables
Setting Up NIS+ Client Machines
Prerequisites to Running nisclient to Set Up Client Machines
How to Initialize a New Client Machine
Creating Additional Client Machines
Initializing NIS+ Client Users
Prerequisites to Running nisclient to Initialize a Client User
How to Initialize an NIS+ User
Setting Up NIS+ Servers
Creating a Root Replica Server
Prerequisites to Running nisserver to Create a Root Replica
How to Create a Root Replica
How to Set Up Multihomed NIS+ Replica Servers
Creating a Subdomain
Prerequisites to Running nisserver to Create a Subdomain
How to Create a New Non-Root Domain
Creating Additional Domains
Populating the New Subdomain's Tables
Creating Subdomain Replicas
Prerequisites to Running nisserver to Create a Subdomain Replica
How to Create a Replica
Initializing Subdomain NIS+ Client Machines
Prerequisites to Running nisclient to Initialize a Client Machine
How to Initialize a New Subdomain Client Machine
Initializing Subdomain NIS+ Client Users
Prerequisites to Running nisclient to Initialize a Subdomain Client User
How to Initialize an NIS+ Subdomain User
Summary of Commands for the Sample NIS+ Namespace
5. Setting Up the Root Domain
Introduction to Setting Up the Root Domain
Standard Versus NIS-Compatible Configuration Procedures
Establishing the Root Domain
Summary of Steps
Establishing the Root Domain—Task Map
Security Considerations
Prerequisites to Establishing a Root Domain
Information You Need
How to Configure a Root Domain
Root Domain Configuration Summary
6. Configuring NIS+ Clients
Introduction to Setting Up NIS+ Clients
Configuring the Client
Security Considerations When Configuring the Client
Prerequisites to Configuring the Client's Credentials
Information You Need
Configuring the Client—Task Map
How to Configure an NIS+ Client
Setting Up DNS Forwarding
Changing a Machine's Domain Name
Security Considerations When Changing a Machine's Domain Name
Information You Need
Changing a machine's Domain—Task Map
How to Change a Client's Domain Name
Initializing an NIS+ Client
NIS+ Client Configuration Summary
7. Configuring NIS+ Servers
Setting Up an NIS+ Server
Standard Versus NIS-Compatible Configuration (NIS+ Server)
Security Considerations When Configuring NIS+ Servers
Prerequisites to Configuring NIS+ Servers
Information You Need
How to Configure an NIS+ Server
Adding a Replica to an Existing Domain
Using NIS+ Commands to Configure a Replica Server
Using NIS+ Commands to Configure a Replica Server-Task Map
How to Configure a Replica Server With NIS+ Commands
Using nisrestore to Load Data Onto a Replica Server
Using nisrestore to Load Data on to a Replica Server — Task Map
How to Load Namespace Data—nisrestore Method
Using nisping to Load Data Onto a Replica Server
Using nisping to Load Data on to a Replica Server — Task Map
How to Load Namespace Data—nisping Method
Server Configuration Summary
8. Configuring a Non-Root Domain
Setting Up a Non-Root Domain
Standard Versus NIS-Compatible Configuration (Non-Root Domain)
Security Considerations When Setting Up a Non-Root Domain
Prerequisites to Setting Up a Non-Root Domain
Information You Need
Setting Up a Non-Root Domain—Task Map
How to Configure a Non-Root Domain
Subdomain Configuration Summary
9. Setting Up NIS+ Tables
Setting Up Tables
Populating Tables—Options
Populating NIS+ Tables From Files
Security Considerations When Populating Tables From Files
Prerequisites to Populating Tables From Files
Information You Need
Populating NIS+ Tables From Files—Task Map
How to Populate NIS+ Tables From Files
Populating NIS+ Tables From NIS Maps
Security Considerations When Populating Tables From NIS Maps
Prerequisites to Populating Tables From NIS Maps
Information You Need
Populating NIS+ Tables From NIS Maps—Task Map
How to Populate Tables From Maps
Transferring Information From NIS+ to NIS
Security Considerations for NIS to NIS+ Transfers
Prerequisites to NIS to NIS+ Transfers
Transferring Information From NIS+ to NIS — Task Map
How to Transfer Information From NIS+ to NIS
Limiting Access to the Passwd Column to Owners and Administrators
Security Considerations When Limiting Passwd Column Access
Prerequisites to Limiting Passwd Column Access
Information You Need
Limiting Access to the Passwd Column to Owners and Administrators — Task Map
How to Limit Read Access to the Passwd Column
Table Population Summaries
NIS+ Administration
10. NIS+ Tables and Information
NIS+ Table Structure
Ways to Set Up Tables
11. NIS+ Security Overview
Solaris Security—Overview
NIS+ Security—Overview
NIS+ Authentication and Credentials—Introduction
NIS+ Authorization and Access—Introduction
The NIS+ Administrator
NIS+ Password, Credential, and Key Commands
12. Administering NIS+ Credentials
NIS+ Credentials
How Credentials Work
The DES Credential in Detail
Where Credential-Related Information Is Stored
The cred Table in Detail
Creating Credential Information
Administering NIS+ Credential Information
13. Administering NIS+ Keys
NIS+ Keys
Keylogin With NIS+
Changing Keys for an NIS+ Principal
Changing the Keys
Updating Public Keys
Updating Client Key Information
14. Administering Enhanced Security Credentials
Diffie-Hellman Extended Key
Transitioning to a New Public Key-based Security Mechanism
Configuring NIS+ Security Mechanisms
Creating New Security Mechanism Credentials
Adding New Keys to NIS+ Directory Objects
Configuring NIS+ Servers to Accept New Security Mechanism Credentials
Configuring Machines to Use New Security Mechanism Credentials
Changing the Password Protecting New Credentials
Configuring Servers to Accept only New Security Mechanism Credentials
Removing Old Credentials from the cred Table
15. Administering NIS+ Access Rights
NIS+ Access Rights
Introduction to Authorization and Access Rights
Specifying Access Rights in Commands
Displaying NIS+ Defaults—The nisdefaults Command
Setting Default Security Values
Specifying Nondefault Security Values at Creation Time
Changing Object and Entry Access Rights
Specifying Column Access Rights
Changing Ownership of Objects and Entries
Changing an Object or Entry's Group
16. Administering Passwords
Using Passwords
Administering Passwords
17. Administering NIS+ Groups
Solaris Groups
NIS+ Groups
Related Administration Commands
NIS+ Group Member Types
Using niscat With NIS+ Groups
The nisgrpadm Command
18. Administering NIS+ Directories
NIS+ Directories
Using the niscat Command With Directories
Using the nisls Command With Directories
The nismkdir Command
The nisrmdir Command
The nisrm Command
The rpc.nisd Daemon
The nisinit Command
The nis_cachemgr Daemon
The nisshowcache Command
Pinging and Checkpointing
The nislog Command
The nischttl Command
19. Administering NIS+ Tables
NIS+ Tables
Using the nistbladm Command With Tables
Creating a New Table
Deleting a Table
Adding Entries to a Table
Modifying Table Entries
Removing Table Entries
The niscat Command
Displaying the Contents of a Table
Displaying the Object Properties of a Table or Entry
The nismatch and nisgrep Commands
The nisln Command
The nissetup Command
The nisaddent Command
20. Server-Use Customization
NIS+ Servers and Clients
NIS+ Over Wide Area Networks
Optimizing Server-Use—Overview
Using the nisprefadm Command
Viewing Current Server Preferences
How to Specify Preference Rank Numbers
Specifying Global Server Preferences
Specifying Local Server Preference
Modifying Server Preferences
How to Remove Servers From Preference Lists
How to Replace an Entire Preferred Server List
Specifying Preferred-Only Servers
Ending Use of Server Preferences
Putting Server Preferences Into Immediate Effect
21. NIS+ Backup and Restore
Backing Up Your Namespace With nisbackup
Restoring Your NIS+ Namespace With nisrestore
Using Backup/Restore to Set Up Replicas
Replacing Server Machines
22. Removing NIS+
Removing NIS+ From a Client Machine
Removing NIS+ From a Server
Removing the NIS+ Namespace
23. Information in NIS+ Tables
NIS+ Tables
auto_home Table
auto_master Table
bootparams Table
client_info Table
cred Table
ethers Table
group Table
hosts Table
mail_aliases Table
netgroup Table
netmasks Table
networks Table
passwd Table
protocols Table
rpc Table
services Table
timezone Table
Additional Default Tables
24. NIS+ Troubleshooting
NIS+ Debugging Options
A. Error Messages
About Error Messages
Common Namespace Error Messages
B. System Administration Guide: Naming and Directory Services (NIS+) Updates
Solaris 10
Glossary
News Center
About Sun
Contact Sun
Terms of Use
Privacy
Copyright
1994-2009
Sun Microsystems, Inc.