NFS Services Administrator's Guide

Contents
8
To Change the Ownership of NIS+ Objects. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236
To Change the Search Order of Domains . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
To List the Contents of an NIS+ Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238
To Search an NIS+ Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
To Add an Entry to an NIS+ Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240
To Add an Entry with nistbladm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240
To Add an Entry with nisaddent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241
To Remove an Entry from an NIS+ Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242
To Modify an Entry in an NIS+ Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
To Modify an Entry with nistbladm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
To Modify an Entry with nisaddent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 244
To Add a Host to an NIS+ Domain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245
To Add a User to an NIS+ Domain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247
To Create New Credentials for an Existing NIS+ Principal . . . . . . . . . . . . . . . . . . 250
To Create New Credentials for the Root Master Server. . . . . . . . . . . . . . . . . . . . . . 251
To Change a Password . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 253
To Create an NIS+ Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254
To Remove an NIS+ Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255
To Create or Remove Paths Among Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256
To Create or Remove an NIS+ Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257
To Add or Remove Members of an NIS+ Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258
To Remove a Replica Server from an NIS+ Domain. . . . . . . . . . . . . . . . . . . . . . . . . 260
To Remove an NIS+ Domain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261
To Back Up NIS+ Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262
Summary of NIS+ Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 264
6. Configuring the Name Service Switch
Installing and Customizing the nsswitch.conf File . . . . . . . . . . . . . . . . . . . . . . . . . . . 270
Syntax of the nsswitch.conf File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272
Default Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275
Troubleshooting the Name Service Switch. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277
7. Configuring and Using the Remote Execution Facility (REX)
How REX Works. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281
REX Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 282
Configuring REX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283