SlideServe
Menu
Préférences
© SlideServe · v2026

Module 17: Network Information Service (NIS)

beata avatar
13 diapositives · 404 Views · Oct 15, 2014

Module 17: Network Information Service (NIS). The NIS is a simple database that clients can query. (compare with Windows AD) Covering: Master NIS server; NIS clients; Secondary (slave) server

Module 17: Network Information Service (NIS) - slide 1
01 / 13Module 17: Network Information Service (NIS)
1 / 17

Télécharger la présentation

Module 17: Network Information Service (NIS)
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. Module 17: Network Information Service (NIS) • The NIS is a simple database that clients can query. (compare with Windows AD) • Covering: Master NIS server; NIS clients; Secondary (slave) server • The NIS sever is waiting for clients query. The clients are making the request to the NIS Server. NIS servers do not perform authentication. Module 17 NIS

  2. The NIS Servers • Master NIS server • It keeps the original data • Secondary (slave) servers • They have a copy of original data • They are remaining in sync Module 17 NIS

  3. Domains • Primary NIS servers establish domains. • The NIS model assumes that all clients are members of the same administrative domain. • The NIS does not perform authentication. Module 17 NIS

  4. Installing the NIS Server • GUI: Main Menu -> System Setting -> Add or Remove Packages -> Network Servers -> ypserv • Command line: rpm Module 17 NIS

  5. Configuring the NIS Server 4 steps: • Establish the domain name • Start the ypserv daemon to start NIS • Edit the makefile • Run ypinit to create the database Module 17 NIS

  6. Establishing the domain name • [ ]# domainname mycomputer.mycompany • You can add it to system setting at /etc/sysconfig/networkfile NIS_DOMAIN= mycomputer.mycompany Module 17 NIS

  7. Starting NIS • [ ]# /etc/init.d/ypserv start or • [ ]# /etc/init.d/ypserv stop Module 17 NIS

  8. Editing the Makefile • Makefile is a file that contains the instructions for make tool. The make then knows what file needs to be recompiled. Module 17 NIS

  9. Using ypinit • [ ]# /usr/lib/yp/ypinit [options] Module 17 NIS

  10. Configuring the NIS clients • Edit the /etc/yp.conf file How can a client find the NIS server? Broadcast or hostname • Setting up the startup script The way a client can communicate with the NIS server [ ]# /etc/init.d/ypbind start or stop • Editing the /etc/nsswitch.conf file Telling the system the order in which to search for information filename: servicename Module 17 NIS

  11. Configuring a Secondary NIS Server • Set the domain name • Set up the NIS master to push to the slave 1.Put the name of the secondary NIS server in /var/yp/ypservers file. 2.Add NOPUSH=fales in the makefile file. • Run ypinit to initialize the slave server [ ]# /usr/lib/yp/ypinit [options] Module 17 NIS

  12. The NIS Tools • ypcat – pulls information out of NIS • ypwhich – returns the NIS server name • ypmatch – pulls down information of the match entry • yppasswd – allows users to set their passwords on the NIS server Module 17 NIS

  13. Question • What is the main benefit of using NIS? Module 17 NIS