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


-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


setup domain name


NIS Server Maps Setup nis-3



NIS Client machine

nis client

NIS client configuration page

nis client 1

test from ssh  if it’s working with ypcat command


ypcat passwd

ypcat group

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

hosts nis file



changing password over nis

password daemon on server



NIS project