Network Information Service (NIS) B.11.31.02 Administrator's Guide
Table of Contents
About This Document.........................................................................................................9
Intended Audience.................................................................................................................................9
Document Organization.........................................................................................................................9
Typographic Conventions......................................................................................................................9
Related Information..............................................................................................................................10
HP Welcomes Your Comments.............................................................................................................10
1 Introduction...................................................................................................................11
Overview...............................................................................................................................................11
NIS Network Components...................................................................................................................11
NIS Master Server............................................................................................................................11
NIS Slave Server..............................................................................................................................11
NIS Client........................................................................................................................................11
A Sample NIS Network..............................................................................................................12
NIS Naming Service Components........................................................................................................12
NIS Maps.........................................................................................................................................12
NIS Domains....................................................................................................................................13
NIS Daemons...................................................................................................................................13
NIS Commands...............................................................................................................................13
Default NIS Source Files..................................................................................................................14
NIS Binding...........................................................................................................................................14
Information Flow in an NIS Network...................................................................................................14
Startup Scripts in NIS Services.............................................................................................................16
Features in NIS......................................................................................................................................16
2 Planning an NIS Network...........................................................................................19
Determining the Number of NIS Domains Required...........................................................................19
Determining the Number of NIS Servers ............................................................................................19
Determining the Hosts that will be NIS Servers...................................................................................19
3 Configuring and Administering an NIS Master Server............................................21
Creating the Master passwd File..........................................................................................................21
Creating the Master group File............................................................................................................22
Creating the Master hosts File............................................................................................................23
Enabling the NIS Master Server Capability..........................................................................................24
Verifying the NIS Master Server Configuration...................................................................................25
Configuring the NIS Master Server to Use a Private passwd File.......................................................26
Setting up an Alternate Directory for the passwd File........................................................................27
Allowing Selected Clients and Slave Servers To Access The Master Server........................................27
Verifying the Contents of an NIS Map..................................................................................................28
Modifying an NIS Map.........................................................................................................................28
Adding an AutoFS Map to the NIS Domain........................................................................................29
Removing an AutoFS Map from the NIS Domain................................................................................30
Adding a Slave Server to the NIS Domain...........................................................................................30
Removing a Slave Server from the NIS Domain...................................................................................31
Enabling the DNS Forwarding Mode ..................................................................................................31
Configuring an NIS Master Server in a Domain with Solaris Systems................................................32
Enabling the Shadow Password Mode.................................................................................................32
Table of Contents 3