HOME

TheInfoList



OR:

NetInfo is the system configuration
database In computing, a database is an organized collection of data stored and accessed electronically. Small databases can be stored on a file system, while large databases are hosted on computer clusters or cloud storage. The design of databases sp ...
in
NeXTSTEP NeXTSTEP is a discontinued object-oriented, multitasking operating system based on the Mach kernel and the UNIX-derived BSD. It was developed by NeXT Computer in the late 1980s and early 1990s and was initially used for its range of proprieta ...
and
Mac OS X macOS (; previously OS X and originally Mac OS X) is a Unix operating system developed and marketed by Apple Inc. since 2001. It is the primary operating system for Apple's Mac (computer), Mac computers. Within the market of ...
versions up through
Mac OS X v10.4 Mac OS X Tiger (version 10.4) is the 5th major release of macOS, Apple's desktop and server operating system for Mac computers. Tiger was released to the public on April 29, 2005 for US$129.95 as the successor to Mac OS X 10.3 Panther. Som ...
"Tiger". NetInfo replaces most of the
Unix Unix (; trademarked as UNIX) is a family of multitasking, multiuser computer operating systems that derive from the original AT&T Unix, whose development started in 1969 at the Bell Labs research center by Ken Thompson, Dennis Ritchie, and ot ...
system configuration files, though they are still present for running the machine in
single user mode Single-user mode is a mode in which a multiuser computer operating system boots into a single superuser. It is mainly used for maintenance of multi-user environments such as network servers. Some tasks may require exclusive access to shared resourc ...
; most Unix APIs wrap around NetInfo instead. NetInfo stores system wide network-type configuration information, such as users and groups, in binary databases; while Mac OS X machine and application specific settings are stored as
plist In the macOS, iOS, NeXTSTEP, and GNUstep programming frameworks, property list files are files that store serialized objects. Property list files use the filename extension .plist, and thus are often referred to as p-list files. Property list ...
files.


History

NetInfo was introduced in NeXTSTEP version 0.9, and replaced both the
Unix Unix (; trademarked as UNIX) is a family of multitasking, multiuser computer operating systems that derive from the original AT&T Unix, whose development started in 1969 at the Bell Labs research center by Ken Thompson, Dennis Ritchie, and ot ...
system configuration files and
Sun Microsystems Sun Microsystems, Inc. (Sun for short) was an American technology company that sold computers, computer components, software, and information technology services and created the Java programming language, the Solaris operating system, ZFS, the ...
'
Network Information Service The Network Information Service, or NIS (originally called Yellow Pages or YP), is a client–server directory service protocol for distributing system configuration data such as user and host names between computers on a computer network. Sun ...
(Yellow Pages) on NeXT computers. It immediately caused controversy, much unfavorable. Not only was NetInfo unique to
NeXT Next may refer to: Arts and entertainment Film * ''Next'' (1990 film), an animated short about William Shakespeare * ''Next'' (2007 film), a sci-fi film starring Nicolas Cage * '' Next: A Primer on Urban Painting'', a 2005 documentary film Lit ...
computers (although NeXT later licensed NetInfo to Xedoc, an Australian software company who produced NetInfo for other UNIX systems),
DNS The Domain Name System (DNS) is a hierarchical and distributed naming system for computers, services, and other resources in the Internet or other Internet Protocol (IP) networks. It associates various information with domain names assigned to ...
queries went through NetInfo. This led to a situation where basic tasks such as translating a UNIX UID to a user name string would not complete because NetInfo was stalled on a DNS lookup. At first, it was possible to disable NetInfo and use the Unix system files, but as of NeXTSTEP version 2 disabling NetInfo also disabled
DNS The Domain Name System (DNS) is a hierarchical and distributed naming system for computers, services, and other resources in the Internet or other Internet Protocol (IP) networks. It associates various information with domain names assigned to ...
support. Thus, NeXT computers became notorious for locking a user out of everyday tasks because a DNS server had stopped responding. The Mac OS X version of NetInfo remedied this (and many other problems), but due to the early problems, NetInfo never took over the world of Unix system configuration. Apple has moved away from using NetInfo towards
LDAP The Lightweight Directory Access Protocol (LDAP ) is an open, vendor-neutral, industry standard application protocol for accessing and maintaining distributed directory information services over an Internet Protocol (IP) network. Directory servi ...
, particularly in
Mac OS X Server macOS Server, formerly Mac OS X Server and OS X Server, is a discontinued series of Unix-like server operating systems developed by Apple Inc., based on macOS and later add-on software packages for the latter. macOS Server added serve ...


Mac OS X v10.4 is the last version to support Netinfo. Beginning with
Mac OS X v10.5 Mac OS X Leopard (version 10.5) is the sixth major release of macOS, Apple's desktop and server operating system for Macintosh computers. Leopard was released on October 26, 2007 as the successor of Mac OS X 10.4 Tiger, and is available in t ...
, Netinfo has been completely phased out and replaced by a new local search node named ''dslocal'', which files are located in /var/db/dslocal/ and are standard property list (XML-based) files.


Files

The NetInfo Database is stored in , and can only be accessed by
root In vascular plants, the roots are the organs of a plant that are modified to provide anchorage for the plant and take in water and nutrients into the plant body, which allows plants to grow taller and faster. They are most often below the sur ...
. It can be viewed and modified through its
application programming interface An application programming interface (API) is a way for two or more computer programs to communicate with each other. It is a type of software interface, offering a service to other pieces of software. A document or standard that describes how t ...
, the
NetInfo Manager NetInfo is the system configuration database in NeXTSTEP and Mac OS X versions up through Mac OS X v10.4 "Tiger". NetInfo replaces most of the Unix system configuration files, though they are still present for running the machine in single user mo ...
utility, or command line tools such as . As Netinfo has been completely removed from Mac OS X 10.5, the Netinfo-based command line tools have also been phased out and replaced by other tools. Also, Netinfo Manager has been removed.


Data

Netinfo stores the following data: * afpuser_aliases * aliases * exports (nfs shares) * groups * machines * mounts * networks * printers * protocols * rpcs * services * users


See also

*
Apple Open Directory Apple Open Directory is the LDAP directory service model implementation from Apple Inc. A directory service is software which stores and organizes information about a computer network's users and network resources and which allows network administ ...


References


External links


NetInfo man page
{{DEFAULTSORT:Netinfo MacOS NeXT Directory services