Network information service

Network Information Service
Craig Hunt

What's the easiest way to administer your UNIX network? One of them is to use the NIS, discussed in this tip from TCP/IP Network Administration by Craig Hunt, published by O'Reilly

    Requires Free Membership to View


The Network Information Service (NIS)* is an administrative database that provides central control and automatic dissemination of important administrative files. NIS converts several standard UNIX files into databases that can be queried over the network. The databases are called NIS Maps. Some maps are created from files that you're familiar with from system administration, such as the password file (/etc/passwd) and the groups file (/etc/group). Others are derived from files related to network administration.

Creates the NIS maps ethers.byaddr and ethers.byname. The /etc/ethers file is used by RARP.
Produces the maps hosts.byname and hosts.byaddr.
Produces the maps networks.byname and networks.byaddr.
Produces a single map called services.byname.
Defines electronic mail aliases and produces the maps mail.aliases and mail.byaddr.
Check the maps available on your server with the ypcat - x command.

The advantage of using NIS is that these important administrative files can be maintained on a central server, and yet completely accessible to every workstation on the network. All of the maps are stored on a master server that runs the NIS server process ypserv. The maps are queried remotely by client systems. Clients run ypbind to locate the server.

For more information about TCP/IP Network Administration, or to buy this book, click here.

Did you like this tip? If so, (or if not) why not let us know? Email to sound off, or visit our tips page to rate this, and other tips, or to submit one of your own.

This was first published in February 2001

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.