Network Information Service Article Index for
Network
Website Links For
Network
 

Information About

Network Information Service




Sun licenses this technology to virtually all other Unix vendors.

As the name “ Yellow Pages ” was a registered Trademark in the United Kingdom of British Telecom PLC for their (paper) commercial telephone directory, Sun changed the name of their system to NIS, though all the commands and functions still start with “yp”.

NIS/YP is used for maintenance and distribution of a central directory of user and group information, hostnames, e-mail aliases and other text-based tables of information in a computer network. For example, in a common UNIX environment, the list of users for Identification is placed in /etc/passwd, and secret Authentication Hashes in /etc/shadow. NIS adds another “global” user list which is used for identifying users on any Client of the NIS domain.

Technically NIS can be configured to serve password data used to authenticate users against as well; however, not only is this cumbersome to do without resorting to DES encrypted passwords (which are known to be weak) if multiple OSs are in use, it also allows any NIS client to retrieve the whole password database for offline inspection. Kerberos was designed to handle authentication in a more secure manner.

In many environments other directory services, which may be considered to be more modern and secure than NIS, such as LDAP , have come to replace it. For example, the 'slapd' Daemon generally runs as a non-root user, and SASL -based encryption of LDAP traffic is natively supported.

The Nameserver functionality NIS or LDAP can provide is probably better handled by DNS servers when used on large LAN s, leaving just site-wide identification information for NIS master and slave systems to serve. However, some functions such as the distribution of netmask information to clients, as well as the maintenance of e-mail aliases, may still be performed by NIS or LDAP.


NIS COMMANDS


  • ypcat - Prints the values in NIS map

  • ypmatch - Prints values for specified keys in NIS map

  • ypwhich - Finds out what server the current host is using

  • ypclnt - Programmer's suite that provides an interface to the YP subsystem

  • yppasswd - Changes the password for NIS domain

  • ypset - Makes ypbind connect to a particular server

  • ypmake - Builds a new hash map from those files that have changed

  • ypinit - Configures a host as master or slave server

  • yppush - Makes slave servers update their versions of map



NIS DAEMONS


  • ypserv - NIS server daemon

  • ypxfrd - NIS Server daemon, transfers maps to the slave server

  • ypbind - runs on all NIS systems. Makes NIS requests from the client to ypserv on the NIS server


  • rpc.yppasswd - ord map

  • rpc.ypupdated - Runs on the NIS master only; updates the public key map if secure Remote Procedure Call is enabled



SEE ALSO




EXTERNAL LINKS