Name
create_nidb
Synopsis
create_nidb [tag
[master_hostname
[root_dir
]]
Creates and populates an Open Directory database from the contents of
flat files in /etc
. This may be especially
useful if you have configuration information you wish to carry over
from another Unix system. Currently create_nidb
makes use of the following files:
/etc/master.passwd
|
/etc/group
|
/etc/hosts
|
/etc/networks
|
create_nidb
should be run with root privileges.
Options
-
master_hostname
The name of the host serving the master copy of the Open Directory database. The default is
localhost
if the tag islocal
, otherwise it’s the hostname of the system on whichcreate_nidb
is run.-
root_dir
The directory in which
/var/db/netinfo/tag.nidb
will be created. The default is /.-
tag
The tag of the Open Directory database. The default is
local
.
Get Mac OS X in a Nutshell 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.