NIS Network Information Service

Network Information Service.

The Network Information Service (NIS) provides a simple network lookup service consisting of databases and processes. It was formerly known as Sun Yellow Pages (YP). The functionality of the two remains the same; only the name has changed. Its purpose is to provide information, that has to be known throughout the network, to all machines on the network. Information likely to be distributed by NIS is:

  • login names/passwords/home directories (/etc/passwd)
  • group information (/etc/group)
  • host names and IP numbers (/etc/hosts)

NIS  Domain

-share information over the network

Network Informatior Service

-master server  keep track of share information, centralized information

-client

-slave server always must have a master server (master contact slave for update information)

 

Necessary Software

  • portmap  usually install by default
  • ypserv
  • ypbind  for client machine

 

From Yast Interface

NIS Server

nis-1

setup domain name

nis-2

NIS Server Maps Setup nis-3

nis-4

nis-5

NIS Client machine

nis client

NIS client configuration page

nis client 1

test from ssh  if it’s working with ypcat command

ypcat

ypcat passwd

ypcat group

cat /etc/hosts   file to verify to entry in file

hosts nis file

domainname

 

changing password over nis

password daemon on server

/etc/init.d/yppasswdd

 

NIS project http://www.linux-nis.org/