Name
nireport
Syntax
nireport [-T timeout] [-t]domain
directory
[property ...
]
Description
You can list all NetInfo groups by using the nireport utility. To use nireport, use the following syntax:
Options
-
-T
timeout
Specifies a timeout in seconds.
- -t
Treats the domain as a tagged domain, which includes a machine name and a tagged NetInfo database.
-
domain
Specifies a NetInfo domain.
-
directory
Denotes a path to a NetInfo directory.
-
property ...
Specifies one or more NetInfo properties. For example, each user listed in the /users directory has name, passwd, uid, and gid properties (as well as a few other properties). Every directory has a name property that corresponds to the directory name. For example, the /machines directory’s name property is
machines
.
You can use nireport to list any portion of the
NetInfo directory. For example, to list the top-level directory,
specify the local domain, the /
directory, and the
name property, as in nireport . /name
.
Get Mac OS X for Unix Geeks now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.