The Network Information Service or NIS is Sun Microsystems' "Yellow Pages" (YP) client-server protocol for distributing system configuration data such as user and host names between computers on a computer network.

NIS/YP is used for keeping a central directory of users, hostnames and most other useful things in a computer network. For example, in a common UNIX environment, the list of users (for authentication) is placed in /etc/passwd. Using NIS adds another "global" user list which is used for authenticating users on any host.

Sun licenses this technology to virtually all other Unix vendors.

As the name "Yellow Pages" is a registered trademark in the United Kingdom of British Telecommunications 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".

In modern environment, systems like Lightweight Directory Access Protocol and Kerberos have come to replace NIS at many sites and are mostly considered to be more modern and secure than NIS.

NIS commands:

See Also