Name

create_nidb

Synopsis

create_nidb [tag [master_hostname [root_dir]]

A Perl script that 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 uses the following files:

/etc/master.passwd
/etc/group
/etc/hosts
/etc/networks

create_nidb should be run with superuser 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 is local, otherwise it’s the hostname of the system on which create_nidb is run.

root_dir

The directory in which var/db/netinfo/tag.nidb is created. The default is /.

tag

The tag of the Open Directory database. The default is local.

Get Mac OS X Panther in a Nutshell, 2nd Edition 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.