• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

netinfo

netinfo

netinfo Network administrative information.
NetInfo is a hierarchical database of administrative information. The hierarchy is composed of directories. Each directory may have zero or more properties associated with it. Each property has a name and zero or more values.
Searching  
Almost everything that uses NetInfo for lookups searches the local domain first. If the answer is not found in the local domain, the next domain level is searched, and so on.
Database Format  
The top level of the database, the root directory, contains a single property called master. This property indicates which server is the master of the database; that is, which server contains the master copy of the database.
A second property can be installed in the root directory to limit who can connect to the domain. By default, everyone can connect to the domain. They can read anything there, but not write. If this default is undesired, the property called trusted_networks can be enabled. Values for it should be the network or subnet addresses that are assumed to contain trusted machines. A name may be given instead of an address. If a name is given, that name should be listed as a subdirectory of /networks in the same domain and resolve to the appropriate network address.
At the second level, the following directories exist:

aliases

groups

machines

mounts

networks

printers

protocols

rpcs

services

users
These directories mostly contain a single property called name.
The directory machines may contain these properties having to do with automatic host installation in addition to name:
promiscuous If it exists, the bootpd (8) daemon is promiscuous. Has no value.
assignable_ipaddr A range of IP addresses to be automatically assigned, specified with two values as endpoints.
configuration_ipaddr Temporary IP address given to unknown machines in the process of booting.
default_bootfile Default bootfile to assign to a new machine.
net_passwd Optional property. Encrypted password for protecting automatic host installations.
The directory /aliases contains directories describing individual mailing addresses. The relevant properties of each directory under aliases are as follows:
name Name of the alias.
members List of members belonging to the alias.
The directory /groups contains directories that refer to individual system groups. The relevant properties of each directory under groups are as follows:
name Name of the system group.
passwd Password of the group.
gid Associated group ID.
users List of users belonging to the system group.
The directory /machines contains directories that refer to individual machines. The relevant properties of each directory under machines are as follows:
name Name of the machine. This property can have multiple values if the machine name has aliases.
ip_address IP address of the machine. This property can have multiple values if the machine has multiple IP addresses. This address must be stored in decimal-dot notation, with no leading zeroes.
en_address Ethernet address of the machine. The address must be stored in standard six-field hex ethernet notation, with no leading zeroes.
serves List of information about the NetInfo domain that the machine serves. Each value in the list has the format <domain_name>/<domain_tag>. The <domain_name> is the external domain name that the machine serves as seen by this level of the hierarchy. The <domain_tag> is the internal name associated with the actual process on the machine serving the domain.
bootfile Name of the kernel that this machine will use when NetBooting.
bootparams List of Bootparams protocol key-value pairs. For example, root=parrish:/ has the Bootparams key root and the Bootparams value parrish:/.
netgroups List of netgroups to which the machine belongs.
The directory /mounts contains directories that refer to file systems. The relevant properties of each directory under mounts are as follows:
name Name of the file system. For example, /dev/od00a or papazian:/.
dir Name of the directory upon which the file system is mounted.
type File system type of the mount.
opts List of mount (8) options associated with the mounting of the file system.
passno Pass number on parallel fsck (8).
freq Dump frequency, in days.
The directory /networks contains directories that refer to Internet networks. The relevant properties of each directory under networks are as follows:
name Name of the network. If the network has aliases, there may be more than one value for this property.
address Network number of this address. This value must be in decimal-dot notation, with no leading zeroes.
The directory /printers contains directories that refer to printer entries. The relevant properties of each directory under printers are as follows:
name Name of the printer. If the printer has aliases, this property will have multiple values.
lp, sd, and so on Printcap (5) properties associated with the printer.
The directory /protocols contains directories that refer to transport protocols. The relevant properties of each directory under protocols are as follows:
name Name of the protocol.
number Associated protocol number.
The directory /services contains directories that refer to ARPA services. The relevant properties of each directory under services are as follows:
name Name of the service. If the service has aliases, the property will have multiple values.
protocol Name of the protocol on which the service runs. If the service runs on multiple protocols, the property will have multiple values.
port Associated port number of the service.
The directory /users contains information that refers to users. The relevant properties of each directory under users are as follows:
name Login name of the user.
passwd Encrypted password of the user.
uid User ID of the user.
gid Default group ID of the user.
realname Real name of the user.
home Home directory of the user.
shell Login shell of the user.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint