ArticleslgStudy

computer science

NIS+

NIS+ is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand NIS+ rather than just read about it. In short: NIS+ is a directory service developed by Sun Microsystems to replace its older 'NIS' (Network Information Service). It is designed to eliminate the need for duplication across many computers of configuration data such as user accounts, host names and addresses, printer information and NFS disk mounts on individual systems, instead using a central repository on a master server, simplifying system administration.

Key takeaways

  • NIS+ belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect NIS+ to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of NIS+ from memory before moving on to harder problems.

Reference excerpt

NIS+ is a directory service developed by Sun Microsystems to replace its older 'NIS' (Network Information Service). It is designed to eliminate the need for duplication across many computers of configuration data such as user accounts, host names and addresses, printer information and NFS disk mounts on individual systems, instead using a central repository on a master server, simplifying system administration. NIS+ client software has been ported to other Unix and Unix-like platforms. Prior to the release of Solaris 9 in 2002, Sun announced its intent to remove NIS+ from Solaris in a future release and now recommends that customers instead use an LDAP-based lookup scheme. NIS+ was present in Solaris 9 and 10 (although both releases include tools to migrate NIS+ data to an LDAP server) and it has been removed from Solaris 11.

NIS vs. NIS+ NIS and NIS+ are similar only in purpose and name, otherwise, they are completely different implementations. They differ in the following ways:

NIS+ is hierarchical. NIS+ is based around Secure RPC (servers must authenticate clients and vice versa). NIS+ may be replicated (replicas are read-only). NIS+ implements permissions on directories, tables, columns and rows. NIS+ also implements permissions on operations, such as being able to use nisping to transfer changed data from a master to a replica.

The problem of managing network information In the 1970s, when computers were expensive, and networks consisted of a small number of nodes, administering network information was manageable, and a centralized system was not needed. As computers became cheaper and networks grew larger, it became increasingly difficult to maintain separate copies of network configurations on individual systems. For example, when a new user was added to the network, the following files would need to be updated on every existing system:

Likewise, /etc/group would have needed updating every time a new group was added and /etc/hosts would have needed updating every time a new computer was added to the network. If a new user with a new system was added to a network of 20 existing systems, the UNIX administrator would need to modify 5 files on 21 machines - 105 files in all. With NIS+, adding users and machines to the network requires changes only to the NIS+ server's maps and the new host's /etc/nsswitch.conf needs to point to the NIS+ server. When a user logs into any other machine, that host (the NIS+ client), knowing who the NIS+ server is, queries it for the username and password to identify and authenticate the user. NIS+ also manages several other types of data: NFS mounts (auto_master, auto_home), network booting and other parameters (bootparams, ethers, netmasks, netgroup, networks, protocols, rpc, services), security access (cred), aliases, and time zone. An installation of NIS+ comes with such table structures predefined. There are facilities available to create other tables as needed.

Alternatives Other alternative schemes for storing network information exist, such as the LDAP standard maintained by the IETF, including Microsoft's LDAP implementation, Active Directory. LDAP can be configured to handle more general information, such as corporate employee structures, phone numbers, address, etc. so it requires more thought and planning. Many organizations require all the features of NIS+, LDAP, and Active Directory and run them all simultaneously. Another alternative that has been popular in certain environments is the Hesiod name service, which is based on the DNS protocols.

NIS+ client/server model Unlike NIS, NIS+ uses a hierarchical structure of multiple domains. A NIS+ domain can, and should, be serviced by multiple servers. The primary server is known as the master server, and backup servers are known as replica servers. Both types hold copies of the NIS+ tables. Changes are first committed to the master server and then propagated to replica servers in increments. NIS+ table permissions determine a user's level of access to the table's contents.

See also client–server Lightweight Directory Access Protocol (LDAP) Network Information Service (NIS)

References

External links Ray W. Hiltbrand (1999-07-30). "NIS+ Frequently Asked Questions". "NISplus Installation & Administration". adminschoice.com. 2009-12-29. Resources on how to replace NIS and NIS+ can be found at the NIS Migration Resource Site Archived 2011-09-29 at the Wayback Machine

Worked examples

Example 1 — a first encounter with NIS+

Start with the simplest possible case. Write down what NIS+ claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to NIS+ before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about NIS+ ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of NIS+

In research
NIS+ appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses NIS+ in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
NIS+ is common in secondary-school and first-year university syllabi. It links to neighbouring topics 1992 software, Directory services, Network management, so understanding it makes those chapters shorter.
In everyday life
Look for NIS+ outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “NIS+” →

How to study NIS+ in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what NIS+ means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain NIS+ out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is NIS+ in simple terms?

NIS+ is a directory service developed by Sun Microsystems to replace its older 'NIS' (Network Information Service). It is designed to eliminate the need for duplication across many computers of configuration data such as user accounts, host names and addresses, printer information and NFS disk moun…

Why does NIS+ matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study NIS+?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on NIS+.

Tags

  • 1992 software
  • Directory services
  • Network management
  • Sun Microsystems software
  • Unix network-related software

Keep exploring