Network Information Service (NIS) B.11.31.04 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............................................................................................................12
NIS Client......................................................................................................................12
A Sample NIS Network............................................................................................12
NIS Naming Service Components......................................................................................13
NIS Maps.......................................................................................................................13
NIS Domains.................................................................................................................13
NIS Daemons.................................................................................................................13
NIS Commands.............................................................................................................14
Default NIS Source Files................................................................................................15
NIS Binding........................................................................................................................16
Information Flow in an NIS Network................................................................................16
Startup Scripts in NIS Services...........................................................................................18
Features in NIS...................................................................................................................19
2 Planning an NIS Network..........................................................................................................23
Determining the Number of NIS Domains Required........................................................23
Determining the Number of NIS Servers ..........................................................................23
Determining the Hosts that will be NIS Servers.................................................................23
3 Configuring and Administering an NIS Master Server..................................................................25
Creating the Master passwd File.......................................................................................25
Creating the Master group File..........................................................................................27
Creating the Master hosts File..........................................................................................28
Enabling the NIS Master Server.........................................................................................29
Verifying the NIS Master Server Configuration.................................................................31
Configuring the NIS Master Server to Use a Private passwd File.....................................32
Setting up an Alternate Directory for the passwd File.......................................................33
Allowing Selected Clients and Slave Servers To Access The Master Server......................34
Table of Contents 3