NFS Services Administrator's Guide

Contents
7
To Bind an NIS Client to a Server on a Different Subnet . . . . . . . . . . . . . . . . . . . . 189
Configuring and Administering Secure RPC (if NIS+ is not used) . . . . . . . . . . . . . . . 191
To Have Users Create their Secure RPC Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
To Create Secure RPC Keys for Users. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
To Create Secure RPC Keys for Hosts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
To Tell Users How to Use Secure RPC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195
Summary of NIS Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
5. Configuring and Administering NIS+
Overview of NIS+ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
Advantages of NIS+ over NIS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
Disadvantages of NIS+ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
Structure of the NIS+ Namespace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
Structure of an NIS+ Domain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
How NIS+ Information is Stored and Propagated . . . . . . . . . . . . . . . . . . . . . . . . . . 205
NIS+ Tables. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
NIS+ Authentication and Authorization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
NIS Compatibility Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
Planning the NIS+ Namespace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
To Determine the Number of NIS+ Domains You Need . . . . . . . . . . . . . . . . . . . . . . 211
To Determine the Number of NIS+ Servers You Need . . . . . . . . . . . . . . . . . . . . . . . 212
To Determine Which Hosts Will Be NIS+ Servers . . . . . . . . . . . . . . . . . . . . . . . . . . 212
Setting Up the NIS+ Namespace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213
To Set Up the Root Master Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214
To Populate the NIS+ Tables on the Master Server . . . . . . . . . . . . . . . . . . . . . . . . . 216
To Add Administrators to the NIS+ admin Group . . . . . . . . . . . . . . . . . . . . . . . . . . 219
To Set Up NIS+ Client Hosts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
To Set Up NIS+ Replica Servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222
To Initialize NIS+ Client Users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
To Set Up an NIS+ Subdomain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
To Use BIND With NIS+ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228
To Configure an NIS+ Client to Query BIND . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229
To Configure an NIS+ Server to Return BIND Information to Clients . . . . . . . . 229
To Allow an NIS+ User Authenticated Access to Another Domain . . . . . . . . . . . . . 230
Administering NIS+. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231
To List the Properties of NIS+ Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232
To Change the Default Properties for New NIS+ Objects . . . . . . . . . . . . . . . . . . . . 233
To Change the Permissions for NIS+ Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234