
35
Using NIS
As soon as multiple UNIX systems in a network want to access common resources, it
becomes important that all user and group identities are the same for all machines in
that network. The network should be transparent to users: whatever machines they use,
they always find themselves in exactly the same environment. This is made possible
by means of NIS and NFS services. NFS distributes file systems over a network and is
discussed in
Chapter 38, Sharing File Systems with NFS
(page 711).
NIS (Network Information Service) can be described as a database-like service that
provides access to the contents of
/etc/passwd
,
/etc/shadow
, and
/etc/group
across networks. NIS can also be used for other purposes (making the contents of files
like
/etc/hosts
or
/etc/services
available, for example), but this is beyond
the scope of this introduction. People often refer to NIS as YP, because it works like
the network's “yellow pages.”
35.1 Configuring NIS Servers
To distribute NIS information across networks, you can either have one single server
(a master) that serves all clients or you can have NIS slave servers requesting this infor-
mation from the master and relaying it to their respective clients.
• To configure just one NIS server for your network, proceed with
Section 35.1.1,
“Configuring a NIS Master Server”
(page 654).
• If your NIS master server should export its data to slave servers, set up the master
server as described in
Section 35.1.1, “Configuring a NIS Master Server”
(page 654)
Using NIS
653
Summary of Contents for LINUX ENTERPRISE SERVER 10 - INSTALLATION AND ADMINISTRATION 11-05-2007
Page 1: ...SUSE Linux Enterprise Server www novell com 10 May 11 2007 Installation and Administration...
Page 14: ......
Page 19: ...Part I Deployment...
Page 20: ......
Page 60: ......
Page 128: ......
Page 243: ...Part II Administration...
Page 244: ......
Page 274: ......
Page 312: ......
Page 348: ......
Page 380: ......
Page 381: ...Part III System...
Page 382: ......
Page 438: ......
Page 452: ......
Page 478: ......
Page 486: ......
Page 498: ......
Page 512: ......
Page 558: ......
Page 559: ...Part IV Services...
Page 560: ......
Page 652: ......
Page 670: ......
Page 742: ......
Page 754: ......
Page 796: ......
Page 817: ...Part V Security...
Page 818: ......
Page 858: ......
Page 886: ......
Page 910: ......
Page 911: ...Part VI Troubleshooting...
Page 912: ......
Page 924: ......