Name

create_nidb

Synopsis

create_nidb [tag [master_hostname [root_dir]]

Description

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 makes use of the following files:

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

create_nidb should be run with superuser privileges.

Options/Usage

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 will be created. The default is /.

tag

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

Location

/usr/libexec

Get Mac OS X Panther for Unix Geeks, Second 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.